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

Method add_to_selection

src/DrawingProgram/DrawingProgramSelection.cpp:330–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330void DrawingProgramSelection::add_to_selection(const std::vector<CanvasComponentContainer::ObjInfo*>& newSelection) {
331 selectedSet.insert(selectedSet.end(), newSelection.begin(), newSelection.end());
332 sort_selection();
333 calculate_aabb();
334}
335
336void DrawingProgramSelection::set_to_selection(const std::vector<CanvasComponentContainer::ObjInfo*>& newSelection) {
337 selectedSet = newSelection;

Callers

nothing calls this directly

Calls 3

insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected