Searched defs:selected (Results 1 - 21 of 21) sorted by relevance

/inkscape/src/extension/implementation/
H A Dimplementation.cpp49 std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList(); local
51 if (!selected.empty()) {
52 const SPItem * item = selected[0];
H A Dscript.cpp638 line a list of all the ids that are selected is included. Currently,
639 this only works for a single selected object, but there will be more.
692 std::vector<SPItem*> selected = local
694 for(std::vector<SPItem*>::const_iterator x = selected.begin(); x != selected.end(); ++x){
701 {//add selected nodes
734 ss<< "--selected-nodes=" << id << ":" << sp << ":" << nl;
735 Glib::ustring selected = ss.str(); local
737 if(found_nl && found_sp)params.push_front(selected);
738 else g_warning("Something went wrong while trying to pass selected node
[all...]
/inkscape/src/ui/tool/
H A Dselectable-control-point.cpp21 {0x0000ffff, 0x000000ff}, // normal fill, stroke when selected
22 {0xff000000, 0x000000ff}, // mouseover fill, stroke when selected
23 {0xff000000, 0x000000ff} // clicked fill, stroke when selected
54 // if a point is dragged while not selected, it should select itself
55 if (!selected()) {
79 if (selected()) {
96 bool SelectableControlPoint::selected() const function in class:Inkscape::UI::SelectableControlPoint
104 if (!selected()) {
H A Dcontrol-point-selection.cpp31 * Group of selected control points.
33 * Some operations can be performed on all selected points regardless of their type, therefore
47 * The second says whether the point is currently selected.
159 /** Unselect all selected points and select all unselected points. */
164 if ((*i)->selected()) {
185 bool selected = (*i)->selected(); local
186 if (grow && !selected) {
193 if (!grow && selected) {
195 // use >= to also deselect the origin node when it's the last one selected
444 _pointChanged(SelectableControlPoint *p, bool selected) argument
[all...]
H A Dpath-manipulator.cpp228 /** Select all nodes in subpaths that have something selected. */
234 if (j->selected()) {
235 // if at least one of the nodes from this subpath is selected,
245 /** Invert selection in the selected subpaths. */
250 if (j->selected()) {
251 // found selected node - invert selection in this subpath
253 if (k->selected()) _selection.erase(k.ptr());
263 /** Insert a new node in the middle of each selected segment. */
271 if (k && j->selected() && k->selected()) {
1593 _selectionChangedM(std::vector<SelectableControlPoint *> pvec, bool selected) argument
1599 _selectionChanged(SelectableControlPoint *p, bool selected) argument
[all...]
/inkscape/src/extension/
H A Dexecution-env.cpp61 std::vector<SPItem*> selected = desktop->getSelection()->itemList(); local
62 for(std::vector<SPItem*>::const_iterator x = selected.begin(); x != selected.end(); ++x){
/inkscape/src/extension/internal/
H A Dgrid.cpp188 std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList(); local
190 if (!selected.empty()) {
191 first_select = selected[0]->getRepr();
/inkscape/src/extension/plugins/grid2/
H A Dgrid.cpp194 std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList(); local
196 if (!selected.empty()) {
197 first_select = selected[0]->getRepr();
/inkscape/src/
H A Dgradient-drag.h130 and of lines (simple canvas items). It also remembers one of the draggers as selected.
139 bool hasSelection() {return !selected.empty();}
140 guint numSelected() {return selected.size();}
144 return (selected.empty()? 0 : (*(selected.begin()))->draggables.size() );
148 return (selected.empty() ? 0 : ((*(selected.begin()))->draggables[0]->point_type));
152 std::set<GrDragger *> selected; // list of GrDragger* member in class:GrDrag
H A Dgraphlayout.cpp58 selected,vector<Rectangle*>& rs,map<string,unsigned>& nodelookup) :
59 TestConvergence(d,i), selected(selected), rs(rs), nodelookup(nodelookup) {}
65 for (list<SPItem *>::iterator it(selected.begin());
66 it != selected.end();
81 list<SPItem *>& selected; member in struct:CheckProgress
108 list<SPItem *> selected; local
109 filterConnectors(items,selected);
110 if (selected.empty()) return;
112 const unsigned n=selected
57 CheckProgress(double d,unsigned i,list<SPItem *>& selected,vector<Rectangle*>& rs,map<string,unsigned>& nodelookup) argument
[all...]
H A Dpath-chemistry.cpp306 std::vector<SPItem*> selected(selection->itemList());
309 std::vector<SPItem*> items(selected);
311 did = sp_item_list_to_curves(items, selected, to_select);
314 selection->addList(selected);
328 /** Converts the selected items to LPEItems if they are not already so; e.g. SPRects) */
337 std::vector<SPItem*> selected(selection->itemList());
340 std::vector<SPItem*> items(selected);
343 sp_item_list_to_curves(items, selected, to_select, true);
346 selection->addList(selected);
350 sp_item_list_to_curves(const std::vector<SPItem*> &items, std::vector<SPItem*>& selected, st argument
[all...]
H A Dmain.cpp1214 std::vector<SPItem*> selected; local
1217 sp_item_list_to_curves(items, selected, to_select);
H A Dselection-chemistry.cpp2 * Miscellanous operations on selected items.
184 // If nothing selected switch to selection tool
407 // check if something is selected
412 std::vector<SPItem*> selected(selection->itemList());
414 sp_selection_delete_impl(selected);
452 // check if something is selected
760 // Check if something is selected.
798 selection_display_message(desktop, Inkscape::WARNING_MESSAGE, _("<b>No objects selected</b> to pop out of group."));
954 /** Finds out the minimum common bbox of the selected items. */
1000 /* Construct reverse-ordered list of selected childre
1005 Geom::OptRect selected = enclose_items(items); local
1080 Geom::OptRect selected = enclose_items(items); local
[all...]
/inkscape/src/extension/internal/bitmap/
H A Dimagemagick.cpp80 // Loop through selected items
238 std::vector<SPItem*> selected = ((SPDesktop *)view)->getSelection()->itemList(); local
240 if (!selected.empty()) {
241 first_select = (selected.front())->getRepr();
/inkscape/src/ui/dialog/
H A Dundo-history.cpp214 // scroll to the selected row
304 EventLog::const_iterator selected = _event_list_selection->get_selected(); local
306 /* If no event is selected in the view, find the right one and select it. This happens whenever
309 if (!selected) {
339 if ( !selected->children().empty() &&
340 !_event_list_view.row_expanded(_event_list_store->get_path(selected)) )
342 selected = selected->children().end();
343 --selected;
346 // An event before the current one has been selected
[all...]
H A Dlayers.cpp204 // Make sure selected layer hasn't changed since the action was triggered
667 SPObject *selected = _selectedLayer(); local
671 _dnd_source = ( selected && SP_IS_ITEM(selected) ) ? SP_ITEM(selected) : 0;
/inkscape/src/widgets/
H A Dpencil-toolbar.cpp243 std::vector<SPItem *> selected = desktop->getSelection()->itemList(); local
244 for (std::vector<SPItem *>::iterator it(selected.begin()); it != selected.end(); ++it){
288 std::vector<SPItem *> selected = desktop->getSelection()->itemList(); local
289 for (std::vector<SPItem *>::iterator it(selected.begin()); it != selected.end(); ++it){
/inkscape/src/libavoid/
H A Dgraph.cpp582 VertInf *selected = NULL; local
585 selected = (i->visListSize <= j->visListSize) ? i : j;
586 EdgeInfList& visList = selected->visList;
598 selected = (i->orthogVisListSize <= j->orthogVisListSize) ? i : j;
599 EdgeInfList& orthogVisList = selected->orthogVisList;
611 selected = (i->invisListSize <= j->invisListSize) ? i : j;
612 EdgeInfList& invisList = selected->invisList;
/inkscape/src/ui/
H A Dcontrol-manager.cpp85 void setSelected(SPCanvasItem *item, bool selected);
327 void ControlManagerImpl::setSelected(SPCanvasItem *item, bool selected) argument
329 if (_manager.isSelected(item) != selected) {
332 if (selected && _resizeOnSelect.count(item->ctrlType)) {
477 void ControlManager::setSelected(SPCanvasItem *item, bool selected) argument
479 _impl->setSelected(item, selected);
/inkscape/src/ui/tools/
H A Dcalligraphic-tool.cpp498 SPItem *selected = desktop->getSelection()->singleItem(); local
499 if (selected && (SP_IS_SHAPE(selected) || SP_IS_TEXT(selected))) {
500 // One item selected, and it's a path;
503 if (selected != this->hatch_item) {
504 this->hatch_item = selected;
512 motion_to_curve = selected->dt2i_affine() * selected->i2doc_affine();
525 this->message_context->set(Inkscape::NORMAL_MESSAGE, _("<b>Guide path selected</
[all...]
H A Dtweak-tool.cpp157 sel_message = g_strdup_printf(ngettext("<b>%i</b> object selected","<b>%i</b> objects selected",num), num);
159 sel_message = g_strdup_printf("%s", _("<b>Nothing</b> selected"));
376 std::vector<SPItem*> selected; local
379 sp_item_list_to_curves (items, selected, to_select);
1191 this->message_context->flash(Inkscape::ERROR_MESSAGE, _("<b>Nothing selected!</b> Select objects to tweak."));

Completed in 68 milliseconds