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

Method erase_component

src/DrawingProgram/DrawingProgramSelection.cpp:735–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

733}
734
735void DrawingProgramSelection::erase_component(CanvasComponentContainer::ObjInfo* objToCheck) {
736 check_add_stroke_color_change_undo();
737
738 std::erase(selectedSet, objToCheck);
739 if(selectedSet.empty())
740 reset_all();
741}
742
743CanvasComponentContainer::ObjInfo* DrawingProgramSelection::get_front_object_colliding_with_in_editing_layer(const SkPath& cC) {
744 CanvasComponentContainer::ObjInfo* p = nullptr;

Calls 2

eraseFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected