/inkscape/share/extensions/ |
H A D | dm2svg.py | 41 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 D | ink2canvas.py | 38 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 D | pathmodifier.py | 74 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 D | chardataeffect.py | 39 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 D | perspective.py | 62 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 D | summersnight.py | 53 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 D | split.py | 45 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 D | flatten.py | 30 if node.tag == inkex.addNS('path','svg'):
|
H A D | handles.py | 24 if node.tag == inkex.addNS('path','svg'):
|
H A D | inkscape_follow_link.py | 23 if node.tag == inkex.addNS('a','svg'):
|
H A D | synfig_prepare.py | 373 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 D | text_extract.py | 151 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 D | print_win32_vector.py | 73 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 D | text_merge.py | 176 #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 D | whirl.py | 40 if node.tag == inkex.addNS('path','svg'):
|
H A D | extractimage.py | 50 if node.tag == inkex.addNS('image','svg'):
|
H A D | dxf_outlines.py | 204 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 D | simpletransform.py | 110 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 D | eqtexsvg.py | 64 in_tag = node_in.tag.rsplit('}',1)[-1] 72 c_tag = c.tag.rsplit('}',1)[-1]
|
/inkscape/src/util/ |
H A D | ege-tags.cpp | 107 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 D | ege-tags.h | 90 * 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 D | foldablebox.test.py | 17 self.assertEqual( e.box.tag, 'g', 'The box group must be created.' )
|
/inkscape/share/filters/ |
H A D | samplify.py | 32 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 D | rdf.h | 35 // 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 D | FontFactory.cpp | 596 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...] |