Searched refs:etree (Results 1 - 25 of 75) sorted by relevance

123

/inkscape/share/extensions/
H A Dlorem_ipsum.py214 para=inkex.etree.SubElement(node,inkex.addNS('flowPara','svg'))
216 inkex.etree.SubElement(node,inkex.addNS('flowPara','svg'))
229 g=inkex.etree.SubElement(svg,inkex.addNS('g','svg'),gattribs)
230 flowRoot=inkex.etree.SubElement(g,inkex.addNS('flowRoot','svg'),{inkex.addNS('space','xml'):'preserve'})
231 flowRegion=inkex.etree.SubElement(flowRoot,inkex.addNS('flowRegion','svg'))
233 rect=inkex.etree.SubElement(flowRegion,inkex.addNS('rect','svg'),rattribs)
H A DjessyInk_mouseHandler.py56 scriptElm = inkex.etree.Element(inkex.addNS("script", "svg"))
58 groupElm = inkex.etree.Element(inkex.addNS("mousehandler", "jessyink"))
64 scriptElm = inkex.etree.Element(inkex.addNS("script", "svg"))
66 groupElm = inkex.etree.Element(inkex.addNS("mousehandler", "jessyink"))
H A Dinkwebeffect.py35 if hasattr(inkex.etree, "CDATA"):
37 inkex.etree.CDATA(
55 scriptEl = inkex.etree.Element( "script" )
H A Dhpgl_decoder.py50 self.doc = inkex.etree.parse(StringIO('<svg xmlns:sodipodi="' + inkex.NSS['sodipodi'] + '" xmlns:inkscape="' + inkex.NSS['inkscape'] + '" width="%smm" height="%smm" viewBox="0 0 %s %s"></svg>' %
52 inkex.etree.SubElement(self.doc.getroot(), inkex.addNS('namedview', 'sodipodi'), {inkex.addNS('document-units', 'inkscape'): 'mm'})
54 self.layers[0] = inkex.etree.SubElement(self.doc.getroot(), 'g', {inkex.addNS('groupmode', 'inkscape'): 'layer', inkex.addNS('label', 'inkscape'): self.textMovements, 'id': self.textMovements})
95 self.layers[layerNum] = inkex.etree.SubElement(self.doc.getroot(), 'g',
98 inkex.etree.SubElement(self.layers[layerNum], 'path', {'d': path, 'style': 'stroke:#' + ('ff0000' if isPU else '000000') + '; stroke-width:0.2; fill:none;'})
H A Dfoldablebox.py72 self.box = g = inkex.etree.SubElement(self.current_layer, 'g', {'id':box_id})
89 inkex.etree.SubElement(g, inkex.addNS('path','svg'), line_atts )
105 inkex.etree.SubElement(g, inkex.addNS('path','svg'), line_atts )
121 inkex.etree.SubElement(g, inkex.addNS('path','svg'), line_atts )
135 inkex.etree.SubElement(g, inkex.addNS('path','svg'), line_atts )
150 inkex.etree.SubElement(g, inkex.addNS('path','svg'), line_atts )
161 inkex.etree.SubElement(g, inkex.addNS('path','svg'), line_atts )
174 inkex.etree.SubElement(g, inkex.addNS('path','svg'), line_atts )
187 inkex.etree.SubElement(g, inkex.addNS('path','svg'), line_atts )
200 inkex.etree
[all...]
H A Dsynfig_output.py28 from inkex import NSS, addNS, etree, errormsg namespace
43 self.root_canvas = etree.fromstring(
195 layer = etree.SubElement(canvas, "layer")
250 param = etree.SubElement(layer, "param")
262 el = etree.SubElement(param, "real")
265 el = etree.SubElement(param, "integer")
268 el = etree.SubElement(param, "vector")
269 x = etree.SubElement(el, "x")
271 y = etree.SubElement(el, "y")
274 el = etree
[all...]
H A Ddots.py76 self.group = inkex.etree.SubElement( node.getparent(), inkex.addNS('g','svg') )
77 self.dotGroup = inkex.etree.SubElement( self.group, inkex.addNS('g','svg') )
78 self.numGroup = inkex.etree.SubElement( self.group, inkex.addNS('g','svg') )
101 inkex.etree.SubElement(
114 new = inkex.etree.SubElement(node,inkex.addNS('text','svg'))
H A Dnicechart.py281 layer = inkex.etree.SubElement(svg, 'g')
292 defs = inkex.etree.SubElement(self.document.getroot(), inkex.addNS('defs', 'svg'))
295 filt = inkex.etree.SubElement(defs,inkex.addNS('filter', 'svg'))
304 fe = inkex.etree.SubElement(filt, inkex.addNS('feGaussianBlur', 'svg'))
373 shadow = inkex.etree.Element(inkex.addNS("rect", "svg"))
390 rect = inkex.etree.Element(inkex.addNS('rect', 'svg'))
408 text = inkex.etree.Element(inkex.addNS('text', 'svg'))
437 vtext = inkex.etree.Element(inkex.addNS('text', 'svg'))
475 shadow = inkex.etree.Element(inkex.addNS("circle", "svg"))
484 background = inkex.etree
[all...]
H A Dsvgfont2layers.py35 guide = inkex.etree.SubElement(namedview, inkex.addNS('guide', 'sodipodi'))
43 node = inkex.etree.SubElement(parentnode, nodetype)
92 layer = inkex.etree.SubElement(self.svg, inkex.addNS('g', 'svg'))
121 new_path = inkex.etree.SubElement(layer, inkex.addNS('path', 'svg'))
132 path = inkex.etree.SubElement(layer, inkex.addNS('path', 'svg'))
H A Ddxf_input.py51 node = inkex.etree.SubElement(layer, 'text', attribs)
60 tspan = inkex.etree.SubElement(node , 'tspan', {inkex.addNS('role','sodipodi'): 'line'})
64 tspan = inkex.etree.SubElement(node , 'tspan', {inkex.addNS('role','sodipodi'): 'line'})
80 inkex.etree.SubElement(layer, 'path', attribs)
112 inkex.etree.SubElement(layer, 'path', attribs)
116 inkex.etree.SubElement(layer, 'path', attribs)
120 inkex.etree.SubElement(layer, 'path', attribs)
145 inkex.etree.SubElement(layer, 'path', attribs)
189 inkex.etree.SubElement(layer, 'path', attribs)
243 inkex.etree
[all...]
H A Dextrude.py70 ele = inkex.etree.Element('{http://www.w3.org/2000/svg}path')
75 g = inkex.etree.Element('{http://www.w3.org/2000/svg}g')
88 ele = inkex.etree.Element('{http://www.w3.org/2000/svg}path')
H A Dhandles.py51 inkex.etree.SubElement(node.getparent(), inkex.addNS('path','svg'), attribs)
H A Dnew_glyph_layer.py47 layer = inkex.etree.SubElement(svg, 'g')
H A Dprinting_marks.py103 inkex.etree.SubElement(parent, 'path', line_attribs)
113 inkex.etree.SubElement(parent, 'path', line_attribs)
123 inkex.etree.SubElement(parent, inkex.addNS('circle','svg'),
128 g = inkex.etree.SubElement(parent, 'g', { 'id': name })
147 inkex.etree.SubElement(g, 'path', regmark_attribs)
163 inkex.etree.SubElement(parent, inkex.addNS('path','svg'),
167 g = inkex.etree.SubElement(parent, 'g', {
190 r = inkex.etree.SubElement(g, 'rect', r_att)
285 layer = inkex.etree.SubElement(svg, 'g')
296 g_crops = inkex.etree
[all...]
H A Dwebslicer_effect.py43 layer = inkex.etree.SubElement(self.document.getroot(), 'g')
H A Dwebslicer_create_group.py79 group = inkex.etree.SubElement(g_parent, 'g')
80 desc = inkex.etree.SubElement(group, 'desc')
H A Dedge3d.py120 clip = inkex.etree.SubElement(defs,inkex.addNS('clipPath','svg'))
124 clipG = inkex.etree.SubElement(node.getparent(),inkex.addNS('g','svg'))
125 g = inkex.etree.SubElement(clipG,inkex.addNS('g','svg'))
128 filt = inkex.etree.SubElement(defs,inkex.addNS('filter','svg'))
135 fe = inkex.etree.SubElement(filt,inkex.addNS('feGaussianBlur','svg'))
139 g = inkex.etree.SubElement(node.getparent(),inkex.addNS('g','svg'))
H A Dsplit.py52 text = inkex.etree.Element(inkex.addNS("text", "svg"), node.attrib)
76 tspan = inkex.etree.Element(inkex.addNS("tspan", "svg"))
135 tspan = inkex.etree.Element(inkex.addNS("tspan", "svg"))
138 text = inkex.etree.Element(inkex.addNS("text", "svg"), line.attrib)
177 tspan = inkex.etree.Element(inkex.addNS("tspan", "svg"))
180 text = inkex.etree.Element(inkex.addNS("text", "svg"), node.attrib)
H A Ddimension.py68 defs = inkex.etree.SubElement(self.document.getroot(),inkex.addNS('defs','svg'))
69 marker = inkex.etree.SubElement(defs ,inkex.addNS('marker','svg'))
77 arrow = inkex.etree.Element("path")
87 line = inkex.etree.Element("path")
95 line = inkex.etree.Element("path")
142 group = inkex.etree.SubElement(layer, 'g')
143 # group = inkex.etree.Element("g")
H A Dgrid_cartesian.py35 inkex.etree.SubElement(parent, inkex.addNS('path','svg'), line_attribs )
42 inkex.etree.SubElement(parent, inkex.addNS('rect','svg'), rect_attribs )
149 grid = inkex.etree.SubElement(self.current_layer, 'g', g_attribs)
153 majglx = inkex.etree.SubElement(grid, 'g', g_attribs)
157 majgly = inkex.etree.SubElement(grid, 'g', g_attribs)
162 minglx = inkex.etree.SubElement(grid, 'g', g_attribs)
167 mminglx = inkex.etree.SubElement(grid, 'g', g_attribs)
172 mingly = inkex.etree.SubElement(grid, 'g', g_attribs)
177 mmingly = inkex.etree.SubElement(grid, 'g', g_attribs)
H A Deqtexsvg.py66 node_out = inkex.etree.Element(inkex.addNS(in_tag,'svg'))
70 node_out = inkex.etree.Element(inkex.addNS('g','svg'))
81 doc = inkex.etree.parse(filename)
H A Dgrid_isometric.py37 inkex.etree.SubElement(parent, inkex.addNS('path','svg'), line_attribs )
44 inkex.etree.SubElement(parent, inkex.addNS('rect','svg'), rect_attribs )
111 grid = inkex.etree.SubElement(self.current_layer, 'g', g_attribs)
115 majglx = inkex.etree.SubElement(grid, 'g', g_attribs)
118 majgly = inkex.etree.SubElement(grid, 'g', g_attribs)
121 majglz = inkex.etree.SubElement(grid, 'g', g_attribs)
125 minglx = inkex.etree.SubElement(grid, 'g', g_attribs)
129 mminglx = inkex.etree.SubElement(grid, 'g', g_attribs)
133 mingly = inkex.etree.SubElement(grid, 'g', g_attribs)
137 mmingly = inkex.etree
[all...]
H A Dmotion.py56 face = inkex.etree.SubElement(self.facegroup,inkex.addNS('path','svg'),{'d':simplepath.formatPath(a)})
63 group = inkex.etree.SubElement(node.getparent(),inkex.addNS('g','svg'))
64 self.facegroup = inkex.etree.SubElement(group, inkex.addNS('g','svg'))
/inkscape/share/filters/
H A Dsamplify.py13 from lxml import etree namespace
58 tdoc = etree.parse(tstream)
61 fdoc = etree.parse(fstream)
79 b = etree.Element(a.tag, nsmap=NSS)
103 tout = etree.ElementTree(copy_element(root))
116 text = etree.Element(e_text, nsmap=NSS)
126 clone = etree.Element(e_use, nsmap=NSS)
133 text = etree.Element(e_text, nsmap=NSS)
144 text = etree.Element(e_text, nsmap=NSS)
159 print etree
[all...]
/inkscape/share/extensions/Barcode/
H A DBase.py24 from lxml import etree namespace
97 barcode = etree.Element('{%s}g' % SVG_URI)
120 rect = etree.SubElement(barcode, '{%s}rect' % SVG_URI)
137 text = etree.SubElement(barcode, '{%s}text' % SVG_URI)

Completed in 5867 milliseconds

123