Searched refs:layers (Results 1 - 19 of 19) sorted by relevance

/inkscape/share/extensions/
H A Dsynfig_fileformat.py31 layers = {} variable
33 # Layer_Composite is the parent of most layers
40 layers["PasteCanvas"] = default_composite.copy()
41 layers["PasteCanvas"].update({
53 layers["circle"] = default_composite.copy()
54 layers["circle"].update({
63 layers["rectangle"] = default_composite.copy()
64 layers["rectangle"].update({
83 layers["region"] = default_shape.copy()
84 layers["regio
[all...]
H A Dhpgl_decoder.py44 self.layers = {}
54 self.layers[0] = inkex.etree.SubElement(self.doc.getroot(), 'g', {inkex.addNS('groupmode', 'inkscape'): 'layer', inkex.addNS('label', 'inkscape'): self.textMovements, 'id': self.textMovements})
93 self.layers[layerNum]
95 self.layers[layerNum] = inkex.etree.SubElement(self.doc.getroot(), 'g',
98 inkex.etree.SubElement(self.layers[layerNum], 'path', {'d': path, 'style': 'stroke:#' + ('ff0000' if isPU else '000000') + '; stroke-width:0.2; fill:none;'})
H A Dsynfig_output.py41 """A synfig document, with commands for adding layers and layer parameters"""
391 # "value" is a list of layers
406 ### Should be used by outside functions to create layers and set layer parameters
672 # Operations act on a series of layers, and (optionally) on a series of named parameters
673 # The "is_end" attribute should be set to true when the layers are at the end of a canvas
674 # (i.e. when adding transform layers on top of them does not require encapsulation)
676 def op_blur(self, layers, x, y, name="Blur", is_end=False):
677 """Gaussian blur the given layers by the given x and y amounts
680 layers -- list of layers
[all...]
H A Dtar_layers.py20 An extension to export multiple svg files from a single svg file containing layers.
60 """Entry point to our layers export"""
71 for (name, layer) in self.layers(newdoc):
75 def layers(self, document): member in class:LayersOutput
106 for (name, _layer) in self.layers(self.document):
H A Ddxf_outlines.py16 - support for layers added July 2010
95 self.layers = ['0']
297 if layer in self.layers:
333 if layer and not layer in self.layers:
334 self.layers.append(layer)
335 self.dxf_add(" 2\nLAYER\n 5\n2\n100\nAcDbSymbolTable\n 70\n%s\n" % len(self.layers))
336 for i in range(len(self.layers)):
337 self.dxf_add(" 0\nLAYER\n 5\n%x\n100\nAcDbSymbolTableRecord\n100\nAcDbLayerTableRecord\n 2\n%s\n 70\n0\n 6\nCONTINUOUS\n" % (i + 80, self.layers[i]))
H A Dgcodetools.py1849 gcodetools.preview_groups = { layer: inkex.etree.SubElement( gcodetools.layers[min(1,len(gcodetools.layers)-1)], inkex.addNS('g','svg'), {"gcodetools": "Preview group"} ) }
1851 gcodetools.preview_groups[layer] = inkex.etree.SubElement( gcodetools.layers[min(1,len(gcodetools.layers)-1)], inkex.addNS('g','svg'), {"gcodetools": "Preview group"} )
3328 for layer in self.layers :
3430 for layer in self.layers :
3772 self.preview_groups = { layer: inkex.etree.SubElement( self.layers[min(1,len(self.layers)-1)], inkex.addNS('g','svg'), {"gcodetools": "Preview group"} ) }
3774 self.preview_groups[layer] = inkex.etree.SubElement( self.layers[min(1,len(self.layers)
[all...]
/inkscape/src/
H A Dlayer-model.cpp143 std::vector<SPObject*> layers; local
147 layers.push_back(obj);
153 layers.push_back(obj);
163 for ( std::vector<SPObject*>::iterator it = layers.begin(); it != layers.end(); ++it ) {
174 std::vector<SPObject*> layers; local
178 layers.push_back(obj);
184 layers.push_back(obj);
195 for ( std::vector<SPObject*>::iterator it = layers.begin(); it != layers
[all...]
H A Dlayer-manager.cpp2 * Inkscape::LayerManager - a view of a document's layers, relative
99 : DebugLayer(Util::share_static_string("rebuild-layers"))
194 std::set<SPObject *> layers = _document->getResourceList("layer"); local
197 for (std::set<SPObject *>::const_iterator iter = layers.begin(); iter != layers.end(); ++iter) {
263 std::set<SPObject *> layers = _document->getResourceList("layer");
271 for ( std::set<SPObject *>::const_iterator iter = layers.begin(); iter != layers.end(); ++iter ) {
284 needsAdd &= ( layers.find(curr) != layers
[all...]
H A Ddesktop.cpp99 layers( NULL ),
144 layers = new Inkscape::LayerModel();
145 layers->_layer_activated_signal.connect(sigc::bind(sigc::ptr_fun(_layer_activated), this));
146 layers->_layer_deactivated_signal.connect(sigc::bind(sigc::ptr_fun(_layer_deactivated), this));
147 layers->_layer_changed_signal.connect(sigc::bind(sigc::ptr_fun(_layer_hierarchy_changed), this));
148 selection = Inkscape::GC::release( new Inkscape::Selection(layers, this) );
193 layers->setDisplayKey(dkey);
206 /* Setup adminstrative layers */
375 delete layers;
558 return layers
[all...]
H A Dselection-describer.cpp132 SPObject *layer = selection->layers()->layerForObject(item);
133 SPObject *root = selection->layers()->currentRoot();
186 in_phrase = g_strdup_printf(ngettext(" in <b>%i</b> layer", " in <b>%i</b> layers", num_layers), num_layers);
H A Dselection.h73 * @param layers the layer model (for the SPDesktop, if GUI)
76 Selection(LayerModel *layers, SPDesktop *desktop);
85 LayerModel *layers() { return _layers; } function in class:Inkscape::Selection
261 /** Returns the number of layers in which there are selected objects. */
H A Dselection.cpp44 Selection::Selection(LayerModel *layers, SPDesktop *desktop) : argument
50 _layers(layers),
526 std::set<SPObject*> layers; local
529 layers.insert(layer);
531 return layers.size();
H A Ddesktop.h115 * layers of different control objects. The one containing the whole
117 * guide, sketch and control layers. The sketch layer is used for
144 Inkscape::LayerModel *layers; member in class:SPDesktop
298 // Could make all callers use this->layers instead of passing calls through?
H A Dselection-chemistry.cpp562 SPDocument *doc = selection->layers()->getDocument();
565 SPGroup *group = dynamic_cast<SPGroup *>(selection->layers()->currentLayer());
757 SPDocument *doc = selection->layers()->getDocument();
821 DocumentUndo::done(selection->layers()->getDocument(), SP_VERB_SELECTION_UNGROUP_POP_SELECTION,
900 DocumentUndo::done(selection->layers()->getDocument(), SP_VERB_SELECTION_UNGROUP,
994 selection_display_message(desktop, Inkscape::ERROR_MESSAGE, _("You cannot raise/lower objects from <b>different groups</b> or <b>layers</b>."));
1029 DocumentUndo::done(selection->layers()->getDocument(), SP_VERB_SELECTION_RAISE,
1036 SPDocument *document = selection->layers()->getDocument();
1047 selection_display_message(desktop, Inkscape::ERROR_MESSAGE, _("You cannot raise/lower objects from <b>different groups</b> or <b>layers</b>."));
1073 selection_display_message(desktop, Inkscape::ERROR_MESSAGE, _("You cannot raise/lower objects from <b>different groups</b> or <b>layers</
[all...]
H A Ddocument.cpp1399 p, or NULL if none. Recurses into layers but not into groups.
1479 layer_model = desktop->layers;
H A Dsplivarot.cpp337 SPDocument *doc = selection->layers()->getDocument();
/inkscape/src/helper/
H A Daction-context.cpp50 return _selection->layers()->getDocument();
/inkscape/src/extension/dbus/
H A Ddocument-interface.cpp194 sel->set(get_object_by_name(sel->layers()->getDocument(), name, error));
242 doc_interface->target.getSelection()->layers()->currentLayer()->appendChildRepr(newNode);
243 doc_interface->target.getSelection()->layers()->currentLayer()->updateRepr();
516 doc_interface->target.getSelection()->layers()->currentLayer()->appendChildRepr(newNode);
517 doc_interface->target.getSelection()->layers()->currentLayer()->updateRepr();
533 doc_interface->target.getSelection()->layers()->currentLayer()->appendChildRepr(newNode);
534 doc_interface->target.getSelection()->layers()->currentLayer()->updateRepr();
1285 doc_interface->target.getSelection()->layers()->setCurrentLayer(next);
1361 Inkscape::LayerModel * layers = doc_interface->target.getSelection()->layers(); local
[all...]
/inkscape/src/ui/tools/
H A Dmeasure-tool.cpp1172 layer_model = desktop->layers;

Completed in 187 milliseconds