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

Method is_selected

src/DrawingProgram/DrawingProgramSelection.cpp:365–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365bool DrawingProgramSelection::is_selected(CanvasComponentContainer::ObjInfo* objToCheck) {
366 return std::find(selectedSet.begin(), selectedSet.end(), objToCheck) != selectedSet.end();
367}
368
369void DrawingProgramSelection::reset_all() {
370 check_add_stroke_color_change_undo();

Callers 3

preupdate_componentMethod · 0.45

Calls 3

findFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected