Lines Matching defs:selection

37 #include "selection.h"
41 #include "selection-chemistry.h"
57 Inkscape::Selection *selection = desktop->getSelection();
60 std::vector<SPItem*> items(selection->itemList());
71 items = sp_degroup_list (items); // descend into any groups in selection
101 selection->clear();
113 selection->clear();
179 selection->set(repr);
184 desktop->getMessageStack()->flash(Inkscape::ERROR_MESSAGE, _("<b>No path(s)</b> to combine in the selection."));
193 Inkscape::Selection *selection = desktop->getSelection();
195 if (selection->isEmpty()) {
206 std::vector<SPItem*> itemlist(selection->itemList());
270 selection->setReprList(reprs);
285 desktop->getMessageStack()->flash(Inkscape::ERROR_MESSAGE, _("<b>No path(s)</b> to break apart in the selection."));
291 sp_selected_path_to_curves(Inkscape::Selection *selection, SPDesktop *desktop, bool interactive)
293 if (selection->isEmpty()) {
306 std::vector<SPItem*> selected(selection->itemList());
308 selection->clear();
313 selection->setReprList(to_select);
314 selection->addList(selected);
322 desktop->getMessageStack()->flash(Inkscape::ERROR_MESSAGE, _("<b>No objects</b> to convert to path in the selection."));
331 Inkscape::Selection *selection = desktop->getSelection();
333 if (selection->isEmpty()) {
337 std::vector<SPItem*> selected(selection->itemList());
339 selection->clear();
345 selection->setReprList(to_select);
346 selection->addList(selected);
452 /* Buglet: We don't re-add the (new version of the) object to the selection of any other
605 Inkscape::Selection *selection = desktop->getSelection();
606 std::vector<SPItem*> items = selection->itemList();
655 desktop->getMessageStack()->flash(Inkscape::ERROR_MESSAGE, _("<b>No paths</b> to reverse in the selection."));