Searched refs:elem (Results 1 - 18 of 18) sorted by relevance

/inkscape/share/extensions/
H A Dink2canvas.py37 # remove namespace part from "{http://www.w3.org/2000/svg}elem"
40 def get_gradient_defs(self, elem):
41 url_id = elem.get_gradient_href()
55 def get_clip_defs(self, elem):
56 if elem.has_clip():
70 # creates a instance of 'elem'
71 # similar to 'elem = Rect(tag, node, ctx)'
72 elem = getattr(svg, class_name)(tag, node, self.canvas)
73 if elem.has_gradient():
74 gradient = self.get_gradient_defs(elem)
[all...]
H A Dpixelsnap.py89 def elemtype(elem, matches):
92 if elem.tag == inkex.addNS(m, 'svg'): return True
147 def elem_offset(self, elem, parent_transform=None):
152 stroke_width = self.stroke_width(elem)
155 transform = self.transform(elem, parent_transform=parent_transform)
163 def stroke_width(self, elem, setval=None):
166 style = simplestyle.parseStyle(elem.attrib.get('style', ''))
176 elem.attrib['style'] = simplestyle.formatStyle(style)
180 def snap_stroke(self, elem, parent_transform=None):
181 transform = self.transform(elem, parent_transfor
[all...]
H A DjessyInk_video.py66 elem = deepcopy(tmplRoot.xpath("//svg:g[@jessyink:element='core.video']", namespaces=inkex.NSS)[0])
67 nodeDict = findInternalLinks(elem, tmplRoot)
69 deleteIds(elem)
77 elem.insert(0, nodeDict[key])
79 for ndIter in elem.iter():
85 layer[0].append(elem)
H A Dsplit.py101 def plain_str(elem):
103 if elem.text:
104 words.append(elem.text)
105 for n in elem:
H A DjessyInk_core_mouseHandler_zoomControl.js71 var elem = obj.getAdHocViewBbox(slides[activeSlide]["viewGroup"], obj.getCoords(e));
84 if (elem == null)
87 effectArray[0]["options"]["matrixNew"] = obj.pointMatrixToTransformation(obj.rectToMatrix(elem)).mult((new matrixSVG()).fromSVGMatrix(slides[activeSlide].viewGroup.getScreenCTM()).inv().mult((new matrixSVG()).fromSVGMatrix(elem.parentNode.getScreenCTM())).inv());
102 * @param elem Element to start the search from.
106 obj.getAdHocViewBbox = function (elem, pnt)
108 var children = elem.childNodes;
H A DjessyInk.js507 var elem = jessyInkObjects[counter];
509 if (elem.getAttributeNS(NSS["jessyink"], "customKeyBindings"))
511 if (elem.getCustomKeyBindings != undefined)
512 keyCodeDictionary = elem.getCustomKeyBindings();
514 if (elem.getCustomCharBindings != undefined)
515 charCodeDictionary = elem.getCustomCharBindings();
524 var elem = jessyInkMouseHandler[counter];
526 if (elem.getMouseHandler != undefined)
528 var tempDict = elem.getMouseHandler();
/inkscape/src/
H A Did-clash.h7 void rename_id(SPObject *elem, Glib::ustring const &newname);
H A Dremove-last.h9 inline void remove_last(std::vector<T> &seq, T const &elem) argument
11 typename std::vector<T>::reverse_iterator i(find(seq.rbegin(), seq.rend(), elem));
H A Did-clash.cpp35 SPObject *elem; member in struct:IdReference
95 find_references(SPObject *elem, refmap_type &refmap) argument
97 if (elem->cloned) return;
98 Inkscape::XML::Node *repr_elem = elem->getRepr();
112 IdReference idref = { REF_CLIPBOARD, elem, attr };
129 IdReference idref = { REF_HREF, elem, attr };
134 SPStyle *style = elem->style;
144 IdReference idref = { REF_STYLE, elem, SPIPaint_properties[i] };
156 IdReference idref = { REF_STYLE, elem, "filter" };
168 IdReference idref = { REF_STYLE, elem, marker
201 change_clashing_ids(SPDocument *imported_doc, SPDocument *current_doc, SPObject *elem, refmap_type const &refmap, id_changelist_type *id_changes) argument
369 rename_id(SPObject *elem, Glib::ustring const &new_name) argument
[all...]
H A Dsp-object.cpp31 #include "sp-style-elem.h"
1441 SPObject *elem = findFirstChild(svg_tagname); local
1442 if ( elem ) {
1443 result = elem->textualContent();
1478 SPObject *elem = findFirstChild(svg_tagname); local
1481 if (elem == NULL) {
1485 while (elem) {
1486 elem->deleteObject();
1487 elem = findFirstChild(svg_tagname);
1494 if (elem
[all...]
/inkscape/src/livarot/
H A DAVL.cpp30 elem[i] = NULL;
41 if (elem[i]) {
42 elem[i]->elem[1 - i] = elem[1 - i];
44 elem[i] = NULL;
670 if (elem[LEFT])
671 elem[LEFT]->elem[RIGHT] = elem[RIGH
[all...]
H A Dsweep-tree.cpp128 insertR = static_cast<SweepTree *>(elem[RIGHT]);
140 insertL = static_cast<SweepTree *>(elem[LEFT]);
154 insertR = static_cast<SweepTree *>(elem[RIGHT]);
187 insertR = static_cast<SweepTree *>(elem[RIGHT]);
200 insertL = static_cast<SweepTree *>(elem[LEFT]);
221 insertR = static_cast<SweepTree *>(elem[RIGHT]);
352 insertR = static_cast<SweepTree *>(insNode->elem[RIGHT]);
357 insertR = static_cast<SweepTree *>(insNode->elem[RIGHT]);
393 insertL = static_cast<SweepTree *>(insertR->elem[LEFT]);
399 insertR = static_cast<SweepTree *>(insNode->elem[RIGH
[all...]
H A DAVL.h26 AVLTree *elem[2]; member in class:AVLTree
H A DShapeSweep.cpp417 if (node->elem[LEFT])
421 SweepTree * >(node->elem[LEFT]))->bord;
424 SweepTree * >(node->elem[LEFT]))->src;
426 if (node->elem[RIGHT])
430 SweepTree * >(node->elem[RIGHT]))->bord;
433 SweepTree * >(node->elem[RIGHT]))->src;
502 static_cast < SweepTree * >(node->elem[LEFT]);
543 static_cast < SweepTree * >(node->elem[LEFT]);
912 ct=static_cast <SweepTree*> (ct->elem[RIGHT]);
1225 if (node->elem[LEF
[all...]
H A DShapeRaster.cpp268 curS = static_cast<SweepTree*>(curS->elem[RIGHT]);
701 curS = static_cast<SweepTree*>(curS->elem[RIGHT]);
822 if ( swrData[cb].sens == false && curS->elem[LEFT] ) {
824 int lb = (static_cast<SweepTree*>(curS->elem[LEFT]))->bord;
838 curS=static_cast <SweepTree*> (curS->elem[RIGHT]);
941 curS = static_cast<SweepTree*>(curS->elem[RIGHT]);
975 curS = static_cast<SweepTree*>(curS->elem[RIGHT]);
996 curS = static_cast<SweepTree*>(curS->elem[RIGHT]);
1015 curS = static_cast<SweepTree*>(curS->elem[RIGHT]);
1116 curS = static_cast<SweepTree*>(curS->elem[RIGH
[all...]
/inkscape/src/libcroco/
H A Dcr-sel-eng.c1183 GList *elem = NULL, local
1190 for (elem = PRIVATE (a_this)->pcs_handlers;
1191 elem; elem = g_list_next (elem)) {
1192 entry = (struct CRPseudoClassSelHandlerEntry *) elem->data;
1202 (PRIVATE (a_this)->pcs_handlers, elem);
1203 entry = (struct CRPseudoClassSelHandlerEntry *) elem->data;
1208 g_free (elem);
1227 GList *elem local
1258 GList *elem = NULL; local
[all...]
/inkscape/
H A Dbuildtool.cpp831 * @param elem the element to output
838 * @param elem the element to output
987 Element *elem = new Element(name, value); local
988 elem->parent = parent;
989 elem->attributes = attributes;
990 elem->namespaces = namespaces;
991 elem->line = line;
996 elem->addChild((*iter)->clone());
998 return elem;
2910 bool getAttribute(Element *elem, cons
4701 getAttribute(Element *elem, const String &name, String &result) argument
4717 getValue(Element *elem, String &result) argument
4733 parsePatternSet(Element *elem, MakeBase &propRef, std::vector<String> &includes, std::vector<String> &excludes ) argument
4772 parseFileSet(Element *elem, MakeBase &propRef, FileSet &fileSet) argument
4846 parseFileList(Element *elem, MakeBase &propRef, FileList &fileList) argument
6628 parse(Element *elem) argument
6664 getAttribute(Element *elem, const String &attrName) argument
6977 parse(Element *elem) argument
7226 parse(Element *elem) argument
7369 parse(Element *elem) argument
7473 parse(Element *elem) argument
7580 parse(Element *elem) argument
7661 parse(Element *elem) argument
7730 parse(Element *elem) argument
7788 parse(Element *elem) argument
7907 parse(Element *elem) argument
8068 parse(Element *elem) argument
8169 parse(Element *elem) argument
8221 parse(Element *elem) argument
8341 parse(Element *elem) argument
8437 parse(Element *elem) argument
8515 parse(Element *elem) argument
8579 parse(Element *elem) argument
8705 parse(Element *elem) argument
8827 parse(Element *elem) argument
8909 parse(Element *elem) argument
8975 parse(Element *elem) argument
9010 parse(Element *elem) argument
9022 createTask(Element *elem, int lineNr) argument
9763 parseProperty(Element *elem) argument
9913 Element *elem = children[i]; local
[all...]
/inkscape/src/live_effects/
H A Dlpe-rough-hatches.cpp114 LevelCrossingInfo elem; local
115 elem.t = (*this)[i][j].t;
116 elem.level = i;
117 elem.idx = j;
118 temp.push_back(elem);

Completed in 175 milliseconds