Searched refs:root (Results 1 - 25 of 120) sorted by relevance

12345

/inkscape/src/
H A Dlayer-fns.h25 SPObject *create_layer(SPObject *root, SPObject *layer, LayerRelativePosition position);
27 SPObject *next_layer(SPObject *root, SPObject *layer);
29 SPObject *previous_layer(SPObject *root, SPObject *layer);
H A Dlayer-fns.cpp92 SPObject *last_elder_layer(SPObject *root, SPObject *layer) { argument
96 while ( layer != root ) {
110 /** Finds the next layer under \a root, relative to \a layer in
113 * @returns NULL if there are no further layers under \a root
115 SPObject *next_layer(SPObject *root, SPObject *layer) { argument
129 } else if ( layer->parent != root ) {
137 /** Finds the previous layer under \a root, relative to \a layer in
140 * @returns NULL if there are no prior layers under \a root.
142 SPObject *previous_layer(SPObject *root, SPObject *layer) { argument
151 } else if ( layer != root ) {
171 create_layer(SPObject *root, SPObject *layer, LayerRelativePosition position) argument
[all...]
H A Ddocument.cpp98 root(NULL),
169 if (root) {
170 root->releaseReferences();
171 sp_object_unref(root);
172 root = NULL;
228 if (!root) {
231 return root->defs;
260 for (SPObject *i = root->defs->firstChild(); i; i = i->getNext() ) {
316 Inkscape::XML::Node *rroot = rdoc->root();
359 document->root
1682 Inkscape::XML::Node *root = source->getReprRoot(); local
[all...]
H A Dsp-guide.cpp41 #include "sp-root.h"
161 // If root viewBox set, interpret guides in terms of viewBox (90/96)
162 SPRoot *root = document->getRoot(); local
163 if( root->viewBox_set ) {
164 if(Geom::are_near((root->width.computed * root->viewBox.height()) / (root->viewBox.width() * root->height.computed), 1.0, Geom::EPSILON)) {
166 double vbunit2px = (root->width.computed / root
211 SPRoot *root = doc->getRoot(); local
371 SPRoot *root = document->getRoot(); local
[all...]
H A Dshortcuts.cpp171 XML::Node *root=doc->root(); local
172 g_return_if_fail(!strcmp(root->name(), "keys"));
174 XML::Node *iter=root->firstChild();
185 iter=root->firstChild();
246 // Get the "key name" from the root element of each file
252 XML::Node *root=doc->root(); local
253 if (strcmp(root->name(), "keys")) {
259 gchar const *name=root
449 XML::Node *root=doc->root(); local
558 XML::Node const *root=doc->root(); member in class:XML
[all...]
/inkscape/src/xml/
H A Drepr-action-test.h14 Inkscape::XML::Node *a, *b, *c, *root; member in class:XmlReprActionTest
23 root = document->root();
41 root->appendChild(a);
42 TS_ASSERT_EQUALS(a->parent() , root);
50 root->appendChild(a);
53 TS_ASSERT_EQUALS(a->parent() , root);
59 TS_ASSERT_EQUALS(a->parent() , root);
66 root->appendChild(a);
67 root
[all...]
H A Drepr.cpp46 Inkscape::XML::Node *root = doc->createElement(rootname); local
47 doc->appendChild(root);
48 Inkscape::GC::release(root);
H A Dsubtree.cpp22 Subtree::Subtree(Node &root) : _root(root) { argument
H A Dsubtree.h33 Subtree(Node &root);
H A Drebase-hrefs-test.h12 Inkscape::XML::Node *a, *b, *c, *root; member in class:RebaseHrefsTest
21 root = document->root();
/inkscape/cxxtest/
H A Dcxxtest.spec35 %attr(-, root, root) %doc README
36 %attr(-, root, root) %doc sample
37 %attr(-, root, root) /usr/include/cxxtest
38 %attr(-, root, root) /usr/bin/cxxtestgen.pl
39 %attr(-, root, root) /us
[all...]
/inkscape/share/extensions/
H A Dempty_business_card.py24 root = self.document.getroot()
25 root.set("id", "SVGRoot")
26 root.set("width", width + width_unit)
27 root.set("height", height + height_unit)
28 root.set("viewBox", "0 0 " + width + " " + height )
30 namedview = root.find(inkex.addNS('namedview', 'sodipodi'))
32 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') );
H A Dempty_desktop.py29 root = self.document.getroot()
30 root.set("id", "SVGRoot")
31 root.set("width", str(width) + 'px')
32 root.set("height", str(height) + 'px')
33 root.set("viewBox", "0 0 " + str(width) + " " + str(height) )
35 namedview = root.find(inkex.addNS('namedview', 'sodipodi'))
37 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') );
H A Dempty_icon.py16 root = self.document.getroot()
17 root.set("id", "SVGRoot")
18 root.set("width", str(size) + 'px')
19 root.set("height", str(size) + 'px')
20 root.set("viewBox", "0 0 " + str(size) + " " + str(size) )
22 namedview = root.find(inkex.addNS('namedview', 'sodipodi'))
24 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') );
H A Dempty_video.py29 root = self.document.getroot()
30 root.set("id", "SVGRoot")
31 root.set("width", str(width) + 'px')
32 root.set("height", str(height) + 'px')
33 root.set("viewBox", "0 0 " + str(width) + " " + str(height) )
35 namedview = root.find(inkex.addNS('namedview', 'sodipodi'))
37 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') );
H A Dseamless_pattern.py25 root = self.document.getroot()
26 root.set("id", "SVGRoot")
27 root.set("width", str(width))
28 root.set("height", str(height))
29 root.set("viewBox", "0 0 " + str(width) + " " + str(height) )
32 clipPathRect = root.xpath(xpathStr, namespaces=inkex.NSS)
38 designZoneData = root.xpath(xpathStr, namespaces=inkex.NSS)
46 designZone = root.xpath(xpathStr, namespaces=inkex.NSS)
52 designZoneData = root.xpath(xpathStr, namespaces=inkex.NSS)
64 previewText = root
[all...]
H A Dempty_dvd_cover.py20 namedview = self.root.find(inkex.addNS('namedview', 'sodipodi'))
40 self.root = self.document.getroot()
41 self.root.set("id", "SVGRoot")
42 self.root.set("width", str(width) + 'mm')
43 self.root.set("height", str(height) + 'mm')
44 self.root.set("viewBox", "0 0 " + str(width) + " " + str(height) )
46 namedview = self.root.find(inkex.addNS('namedview', 'sodipodi'))
48 namedview = inkex.etree.SubElement( self.root, inkex.addNS('namedview', 'sodipodi') );
H A Dempty_generic.py24 root = self.document.getroot()
25 root.set("id", "SVGRoot")
26 root.set("width", str(width) + unit)
27 root.set("height", str(height) + unit)
28 root.set("viewBox", "0 0 " + str(width) + " " + str(height) )
30 namedview = root.find(inkex.addNS('namedview', 'sodipodi'))
32 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') );
64 # This nees more thought... we need to set "Current layer" to (root), how?
74 # root.remove(layer_node)
H A Dempty_page.py44 root = self.document.getroot()
45 root.set("id", "SVGRoot")
46 root.set("width", str(width) + units)
47 root.set("height", str(height) + units)
48 root.set("viewBox", "0 0 " + str(width) + " " + str(height) )
50 namedview = root.find(inkex.addNS('namedview', 'sodipodi'))
52 namedview = inkex.etree.SubElement( root, inkex.addNS('namedview', 'sodipodi') );
H A Dinkwebeffect.py54 root = self.document.getroot()
58 root.insert( 0, scriptEl )
/inkscape/src/libvpsc/pairingheap/
H A DPairingHeap.cpp35 root = NULL;
47 root = NULL;
71 if( root == NULL )
72 root = newNode;
74 compareAndLink( root, newNode );
91 return root->element;
103 PairNode<T> *oldRoot = root;
105 if( root->leftChild == NULL )
106 root = NULL;
108 root
[all...]
H A DPairingHeap.h97 if (root == NULL) {
99 root = broot;
102 compareAndLink(root, broot);
110 PairNode<T> *r=root;
111 root=NULL;
115 PairNode<T> *root; member in class:PairingHeap
/inkscape/packaging/wix/
H A Dfiles.py17 def directory(root, breadcrumb, level, exclude=[]):
25 files = [ f for f in os.listdir(root) if os.path.isfile(os.path.join(root,f)) and f not in exclude]
27 file_key = os.path.join(root, file)
38 dirs = [ f for f in os.listdir(root) if os.path.isdir(os.path.join(root,f)) ]
44 directory(os.path.join(root, dir), directory_key, level + 1)
/inkscape/src/extension/internal/
H A Dlatex-pstricks-out.cpp22 #include "sp-root.h"
65 mod->root = (mod->base)->invoke_show(drawing, mod->dkey, SP_ITEM_SHOW_DISPLAY);
66 drawing.setRoot(mod->root);
74 mod->root = NULL; // should have been deleted by invoke_hide
H A Dsvg.cpp28 #include "sp-root.h"
255 // TODO: Move this code into xml/document.h and duplicate rdoc instead of root.
259 // Get a new xml repr for the svg root node
260 Inkscape::XML::Node *root = rdoc->root()->duplicate(new_rdoc); local
263 new_rdoc->appendChild(root);
264 Inkscape::GC::release(root);
266 pruneExtendedNamespaces(root);

Completed in 423 milliseconds

12345