Searched refs:tag (Results 1 - 25 of 66) sorted by relevance

123

/inkscape/share/extensions/
H A Ddm2svg.py41 tag = f.read(1)
42 if tag == '':
45 if ord(tag) > 128:
46 if tag == '\x90':
55 elif tag == '\x88':
76 print >> sys.stderr, 'Unsupported tag: %s\n' % tag
H A Dink2canvas.py38 return node.tag.split("}")[1]
62 if node.tag is inkex.etree.Comment:
64 tag = self.get_tag_name(node)
65 class_name = tag.capitalize()
71 # similar to 'elem = Rect(tag, node, ctx)'
72 elem = getattr(svg, class_name)(tag, node, self.canvas)
H A Dpathmodifier.py74 myid = node.tag.split('}')[-1]
88 if node.tag == inkex.addNS('g','svg') or node.tag=='g':
102 if node.tag == inkex.addNS('g','svg') or node.tag=='g':
107 elif node.tag == inkex.addNS('use','svg') or node.tag=='use':
123 node.set('id',self.uniqueId(node.tag))
137 if node.tag == inkex.addNS('use','svg') or node.tag
[all...]
H A Dchardataeffect.py39 istext = (node.tag == '{http://www.w3.org/2000/svg}flowPara' or node.tag == '{http://www.w3.org/2000/svg}flowDiv' or node.tag == '{http://www.w3.org/2000/svg}text')
H A Dperspective.py62 if obj.tag == inkex.addNS('path','svg') or obj.tag == inkex.addNS('g','svg'):
63 if envelope.tag == inkex.addNS('path','svg'):
92 if envelope.tag == inkex.addNS('g','svg'):
119 if obj.tag == inkex.addNS("path",'svg'):
121 if obj.tag == inkex.addNS("g",'svg'):
126 if node.tag == inkex.addNS('path','svg'):
128 if node.tag == inkex.addNS('g','svg'):
H A Dsummersnight.py53 if obj.tag == inkex.addNS('path','svg') or obj.tag == inkex.addNS('g','svg'):
54 if trafo.tag == inkex.addNS('path','svg'):
86 if obj.tag == inkex.addNS("path",'svg'):
88 if obj.tag == inkex.addNS("g",'svg'):
91 if trafo.tag == inkex.addNS('g','svg'):
102 if node.tag == inkex.addNS('path','svg'):
104 if node.tag == inkex.addNS('g','svg'):
H A Dsplit.py45 if not (n.tag == inkex.addNS("flowPara", "svg") or n.tag == inkex.addNS("tspan", "svg")):
46 if n.tag == inkex.addNS("textPath", "svg"):
55 if node.tag == inkex.addNS("flowRoot", "svg"):
67 if flowref.tag == inkex.addNS("rect", "svg"):
198 if not (node.tag == inkex.addNS("text", "svg") or node.tag == inkex.addNS("flowRoot", "svg")):
H A Dflatten.py30 if node.tag == inkex.addNS('path','svg'):
H A Dhandles.py24 if node.tag == inkex.addNS('path','svg'):
H A Dinkscape_follow_link.py23 if node.tag == inkex.addNS('a','svg'):
H A Dsynfig_prepare.py373 if (node.tag == addNS("namedview", "sodipodi")
374 or node.tag == addNS("defs", "svg")
375 or node.tag == addNS("metadata", "svg")
376 or node.tag == addNS("foreignObject", "svg")):
381 if node.tag == addNS("svg", "svg") and node.get("viewBox"):
414 if (node.tag == addNS("svg", "svg")
415 or node.tag == addNS("g", "svg")
416 or node.tag == addNS("a", "svg")
417 or node.tag == addNS("switch", "svg")):
H A Dtext_extract.py151 istext = (node.tag == '{http://www.w3.org/2000/svg}flowPara' or node.tag == '{http://www.w3.org/2000/svg}flowDiv' or node.tag == '{http://www.w3.org/2000/svg}text')
H A Dprint_win32_vector.py73 if node.tag == inkex.addNS('path','svg'):
78 elif node.tag == inkex.addNS('rect','svg'):
141 if refnode.tag == inkex.addNS('g','svg'):
143 elif refnode.tag == inkex.addNS('use', 'svg'):
163 if node.tag == inkex.addNS('g','svg'):
165 elif node.tag == inkex.addNS('use', 'svg'):
H A Dtext_merge.py176 #istext = (node.tag == '{http://www.w3.org/2000/svg}flowPara' or node.tag == '{http://www.w3.org/2000/svg}flowDiv' or node.tag == '{http://www.w3.org/2000/svg}tspan')
177 if node.tag != '{http://www.w3.org/2000/svg}flowRegion':
183 if (node.tag == '{http://www.w3.org/2000/svg}text' or node.tag == '{http://www.w3.org/2000/svg}flowPara'):
194 if (node.tail and node.tag != '{http://www.w3.org/2000/svg}text'):
H A Dwhirl.py40 if node.tag == inkex.addNS('path','svg'):
H A Dextractimage.py50 if node.tag == inkex.addNS('image','svg'):
H A Ddxf_outlines.py204 if node.tag == inkex.addNS('path','svg'):
209 elif node.tag == inkex.addNS('rect','svg'):
216 elif node.tag == inkex.addNS('line','svg'):
223 elif node.tag == inkex.addNS('circle','svg'):
229 elif node.tag == inkex.addNS('ellipse','svg'):
274 if refnode.tag == inkex.addNS('g','svg'):
276 elif refnode.tag == inkex.addNS('use', 'svg'):
303 if node.tag == inkex.addNS('g','svg'):
305 elif node.tag == inkex.addNS('use', 'svg'):
H A Dsimpletransform.py110 if node.getparent().tag == inkex.addNS('g','svg'):
217 elif node.tag in [ inkex.addNS('rect','svg'), 'rect', inkex.addNS('image','svg'), 'image' ]:
221 elif node.tag in [ inkex.addNS('line','svg'), 'line' ]:
224 elif node.tag in [ inkex.addNS('circle','svg'), 'circle', \
245 elif node.tag == inkex.addNS('use','svg') or node.tag=='use':
H A Deqtexsvg.py64 in_tag = node_in.tag.rsplit('}',1)[-1]
72 c_tag = c.tag.rsplit('}',1)[-1]
/inkscape/src/util/
H A Dege-tags.cpp107 bool TagSet::addTag(Tag const& tag) argument
112 if (tag.key == it->key) {
115 for ( std::vector<Label>::const_iterator it2 = tag.labels.begin(); it2 != tag.labels.end(); ++it2 ) {
127 tags.push_back(tag);
128 counts[tag.key] = 0;
154 Tag tag(key);
155 tags.push_back(tag);
H A Dege-tags.h90 * Adds or updates a tag.
92 * @return true if a tag was updated, false if it was added.
94 bool addTag(Tag const& tag);
/inkscape/share/extensions/test/
H A Dfoldablebox.test.py17 self.assertEqual( e.box.tag, 'g', 'The box group must be created.' )
/inkscape/share/filters/
H A Dsamplify.py32 def addNS(tag, ns=None):
33 val = tag
34 if ns!=None and len(ns)>0 and NSS.has_key(ns) and len(tag)>0 and tag[0]!='{':
35 val = "{%s}%s" % (NSS[ns], tag)
67 if fi.tag == e_filter and fi.attrib[a_menu] not in menus:
79 b = etree.Element(a.tag, nsmap=NSS)
108 if ch.tag == e_defs:
113 if ch.tag == e_g:
124 if fi.tag !
[all...]
/inkscape/src/
H A Drdf.h35 // char const *fragment; /* XML contents for the RDF/License tag */
72 char const *tag; /* namespace tag for the RDF/Work element */ member in struct:rdf_work_entity_t
/inkscape/src/libnrtype/
H A DFontFactory.cpp596 void dump_tag( guint32 *tag, Glib::ustring prefix = "" ) { argument
598 << ((char)((*tag & 0xff000000)>>24))
599 << ((char)((*tag & 0x00ff0000)>>16))
600 << ((char)((*tag & 0x0000ff00)>>8))
601 << ((char)((*tag & 0x000000ff)>>0))
605 Glib::ustring extract_tag( guint32 *tag ) {
607 tag_name += ((char)((*tag & 0xff000000)>>24));
608 tag_name += ((char)((*tag & 0x00ff0000)>>16));
609 tag_name += ((char)((*tag & 0x0000ff00)>>8));
610 tag_name += ((char)((*tag
[all...]

Completed in 40 milliseconds

123