Searched defs:root (Results 1 - 25 of 65) sorted by relevance

123

/inkscape/src/xml/
H A Drepr.cpp46 Inkscape::XML::Node *root = doc->createElement(rootname); local
47 doc->appendChild(root);
48 Inkscape::GC::release(root);
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 Dsubtree.cpp22 Subtree::Subtree(Node &root) : _root(root) { argument
H A Drebase-hrefs-test.h12 Inkscape::XML::Node *a, *b, *c, *root; member in class:RebaseHrefsTest
21 root = document->root();
H A Dsimple-node.h55 Node *root();
56 Node const *root() const { function in class:Inkscape::XML::SimpleNode
57 return const_cast<SimpleNode *>(this)->root();
/inkscape/src/extension/
H A Dprint.h30 Inkscape::DrawingItem *root; member in class:Inkscape::Extension::Print
/inkscape/src/libvpsc/pairingheap/
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/src/libgdl/
H A Dgdl-dock.h48 GdlDockObject *root; member in struct:_GdlDock
/inkscape/src/
H A Dsp-tag-use.cpp145 SPItem * SPTagUse::root() function in class:SPTagUse
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 Dlayer-model.cpp36 #include "sp-root.h"
88 * Returns current root (=bottom) layer.
104 * Resets the bottom layer to the current root
206 SPObject *root=currentRoot(); local
208 while ( object && object != root && !isLayer(object) ) {
209 // Objects in defs have no layer and are NOT in the root layer
H A Dobject-test.h14 #include "sp-root.h"
87 SPRoot *root = doc->getRoot(); local
88 assert(root->getRepr() != NULL);
89 assert(root->hasChildren());
100 SPObject *child = root->firstChild();
102 TS_ASSERT(child->parent == root);
104 TS_ASSERT(root->isAncestorOf(child));
H A Ddocument-subset.cpp190 Record &root = records[NULL]; local
191 for ( Siblings::iterator it = root.children.begin(); it != root.children.end(); ++it ) {
193 root.children.erase( it );
310 Record &root=records[NULL]; local
312 while (!root.children.empty()) {
313 _doRemoveSubtree(root.children.front());
H A Ddocument.h99 SPRoot *root; ///< Our SPRoot member in class:SPDocument
131 SPRoot *getRoot() { return root; }
132 SPRoot const *getRoot() const { return root; }
H A Dfilter-chemistry.cpp327 Inkscape::XML::Node *root = b_repr->root(); local
328 if (!root->attribute("enable-background")) {
329 root->setAttribute("enable-background", "new");
H A Dlayer-manager.cpp195 SPObject *root=_desktop->currentRoot(); local
196 if ( root ) {
265 SPObject *root=_desktop->currentRoot(); local
266 if ( root ) {
267 _addOne(root);
277 if ( root->isAncestorOf(layer) ) {
279 for ( SPObject* curr = layer; curr && (curr != root) && needsAdd; curr = curr->parent ) {
322 while ( higher && (higher->parent != root) ) {
H A Dselection-describer.cpp133 SPObject *root = selection->layers()->currentRoot(); local
137 if (layer == root) {
138 layer_name = g_strdup(_("root"));
H A Dsp-tref.cpp46 static void build_string_from_root(Inkscape::XML::Node *root, Glib::ustring *retString);
419 * found in the tree starting at the root
422 build_string_from_root(Inkscape::XML::Node *root, Glib::ustring *retString) argument
424 if (root && retString) {
427 if (root->type() == Inkscape::XML::TEXT_NODE) {
428 *retString += (root->content());
436 for (childNode = root->firstChild(); childNode; childNode = childNode->next()) {
/inkscape/src/extension/internal/
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);
/inkscape/src/display/
H A Ddrawing.h46 DrawingItem *root() { return _root; } function in class:Inkscape::Drawing
H A Dcanvas-arena.cpp100 Inkscape::DrawingGroup *root = new DrawingGroup(arena->drawing); local
101 root->setPickChildren(true);
102 arena->drawing.setRoot(root);
146 Geom::OptIntRect b = arena->drawing.root()->visualBounds();
/inkscape/src/extension/internal/filter/
H A Dfilter-file.cpp93 Inkscape::XML::Node * root = doc->root(); local
94 if (strcmp(root->name(), "svg:svg")) {
100 for (Inkscape::XML::Node * child = root->firstChild();
110 } // children of root
160 // serialize it, it loses the namespace declarations from the root, so we must provide
/inkscape/src/helper/
H A Dpixbuf-ops.cpp30 #include "sp-root.h"
127 Inkscape::DrawingItem *root = doc->getRoot()->invoke_show( drawing, dkey, SP_ITEM_SHOW_DISPLAY); local
128 root->setTransform(affine);
129 drawing.setRoot(root);
/inkscape/src/2geom/
H A Dline.cpp132 Coord r = root(v, d);
139 Coord Line::root(Coord v, Dim2 d) const function in class:Geom::Line
154 // since the root-based code below will break for them
174 Interval xpart(root(r[X].min(), X), root(r[X].max(), X));
175 Interval ypart(root(r[Y].min(), Y), root(r[Y].max(), Y));
/inkscape/share/filters/
H A Dsamplify.py102 root = tdoc.getroot() variable
103 tout = etree.ElementTree(copy_element(root))
105 for ch in root.getchildren():

Completed in 31 milliseconds

123