Searched refs:selected (Results 1 - 25 of 89) sorted by relevance

1234

/inkscape/share/extensions/
H A Dimage_attributes.py112 def change_selected_only(self, selected, attribute):
113 if selected:
114 for node_id, node in selected.iteritems():
118 def change_in_selection(self, selected, attribute):
119 if selected:
120 for node_id, node in selected.iteritems():
123 def change_in_document(self, selected, attribute):
126 def change_on_parent_group(self, selected, attribute):
127 if selected:
128 for node_id, node in selected
[all...]
H A Dembedimage.py36 help="embed only selected images")
39 # if slectedonly is enabled and there is a selection only embed selected
42 self.embedSelected(self.document, self.selected)
46 def embedSelected(self, document, selected):
48 self.selected=selected
50 for id, node in selected.iteritems():
H A Dtext_extract.py58 if len(self.selected)==0:
60 self.selected[node.get('id')] = node
62 if len( self.selected ) > 0:
93 #find the center of all selected objects **Not the average!
94 x,y,w,h = dimen[self.selected.keys()[0]]
100 for id, node in self.selected.iteritems():
115 #calculate distances for each selected object
116 for id, node in self.selected.iteritems():
148 self.recurse(deepcopy(self.selected[item[1]]))
H A Dwebslicer_create_group.py52 help="The selected UI-tab when OK was pressed")
71 if len(self.selected) == 0:
74 for id,node in self.selected.iteritems():
86 for id,node in self.selected.iteritems():
H A Dchardataeffect.py32 if len(self.selected)==0:
35 for id,node in self.selected.iteritems():
H A DjessyInk_autoTexts.py47 if len(self.selected) == 0:
50 for id, node in self.selected.items():
H A Drestack.py61 help="The selected UI-tab when OK was pressed")
65 help="The selected UI-tab when OK was pressed")
70 elif len(self.selected) > 0:
87 firstobject = self.selected[self.options.ids[0]]
88 if len(self.selected) == 1 and firstobject.tag == inkex.addNS('g', 'svg'):
94 objects = self.selected
121 #find the center of all selected objects **Not the average!
143 #calculate distances for each selected object
190 if len(self.selected) == 1:
191 firstobject = self.selected[sel
[all...]
H A Dtext_merge.py66 if len(self.selected)==0:
68 self.selected[node.get('id')] = node
70 if len( self.selected ) > 0:
101 #find the center of all selected objects **Not the average!
102 x,y,w,h = dimen[self.selected.keys()[0]]
108 for id, node in self.selected.iteritems():
123 #calculate distances for each selected object
124 for id, node in self.selected.iteritems():
167 self.recurse(self.selected[item[1]], self.textRoot)
H A Dflatten.py29 for id, node in self.selected.iteritems():
H A Dhandles.py23 for id, node in self.selected.iteritems():
H A Dinkscape_follow_link.py22 for id, node in self.selected.iteritems():
H A Dnew_glyph_layer.py54 for id,node in self.selected.iteritems():
H A Dweb-set-att.py52 help="The selected UI-tab when OK was pressed")
66 elFrom.append( self.selected[selId] )
70 elFrom.append( self.selected[ self.options.ids[0] ] )
H A Dweb-transmit-att.py48 help="The selected UI-tab when OK was pressed")
62 elFrom.append( self.selected[selId] )
66 elFrom.append( self.selected[ self.options.ids[0] ] )
/inkscape/src/
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 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 Dremoveoverlap.cpp41 std::vector<SPItem*> selected(items);
46 for (std::vector<SPItem*>::iterator it(selected.begin());
47 it != selected.end();
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 Dpath-chemistry.h35 bool sp_item_list_to_curves(const std::vector<SPItem*> &items, std::vector<SPItem*> &selected, std::vector<Inkscape::XML::Node*> &to_select, bool skip_all_lpeitems = false);
/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];
/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 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/ui/dialog/
H A Dalign-and-distribute.cpp136 std::vector<SPItem*> selected(selection->itemList());
137 if (selected.empty()) return;
148 focus = SP_ITEM(*selected.begin());
151 focus = SP_ITEM(*--(selected.end()));
177 // Generate the move point from the selected bounding box
185 //Move each item in the selected list separately
186 for (std::vector<SPItem*>::iterator it(selected.begin());
187 it != selected.end(); ++it)
289 //Retreive selected objects
296 std::vector<SPItem*> selected(selectio
[all...]
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...]
/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){

Completed in 4530 milliseconds

1234