MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / is_actual_selection_tool

Method is_actual_selection_tool

src/DrawingProgram/DrawingProgram.cpp:604–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602}
603
604bool DrawingProgram::is_actual_selection_tool(DrawingProgramToolType typeToCheck) {
605 return typeToCheck == DrawingProgramToolType::RECTSELECT || typeToCheck == DrawingProgramToolType::LASSOSELECT || typeToCheck == DrawingProgramToolType::EDIT;
606}
607
608bool DrawingProgram::is_selection_allowing_tool(DrawingProgramToolType typeToCheck) {
609 return is_actual_selection_tool(typeToCheck) || typeToCheck == DrawingProgramToolType::PAN || typeToCheck == DrawingProgramToolType::ZOOM;

Callers 1

draw_guiMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected