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

Method is_selection_allowing_tool

src/DrawingProgram/DrawingProgram.cpp:608–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

606}
607
608bool DrawingProgram::is_selection_allowing_tool(DrawingProgramToolType typeToCheck) {
609 return is_actual_selection_tool(typeToCheck) || typeToCheck == DrawingProgramToolType::PAN || typeToCheck == DrawingProgramToolType::ZOOM;
610}
611
612void DrawingProgram::switch_to_tool_ptr(std::unique_ptr<DrawingProgramToolBase> newTool) {
613 drawTool->switch_tool(newTool->get_type());

Callers 5

paste_clipboardMethod · 0.80
switch_toolMethod · 0.80
switch_toolMethod · 0.80
switch_toolMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected