/inkscape/share/extensions/ |
H A D | lorem_ipsum.py | 214 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 D | jessyInk_mouseHandler.py | 56 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 D | inkwebeffect.py | 35 if hasattr(inkex.etree, "CDATA"): 37 inkex.etree.CDATA( 55 scriptEl = inkex.etree.Element( "script" )
|
H A D | hpgl_decoder.py | 50 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 D | foldablebox.py | 72 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 D | synfig_output.py | 28 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 D | dots.py | 76 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 D | nicechart.py | 281 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 D | svgfont2layers.py | 35 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 D | dxf_input.py | 51 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 D | extrude.py | 70 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 D | handles.py | 51 inkex.etree.SubElement(node.getparent(), inkex.addNS('path','svg'), attribs)
|
H A D | new_glyph_layer.py | 47 layer = inkex.etree.SubElement(svg, 'g')
|
H A D | printing_marks.py | 103 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 D | webslicer_effect.py | 43 layer = inkex.etree.SubElement(self.document.getroot(), 'g')
|
H A D | webslicer_create_group.py | 79 group = inkex.etree.SubElement(g_parent, 'g') 80 desc = inkex.etree.SubElement(group, 'desc')
|
H A D | edge3d.py | 120 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 D | split.py | 52 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 D | dimension.py | 68 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 D | grid_cartesian.py | 35 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 D | eqtexsvg.py | 66 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 D | grid_isometric.py | 37 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 D | motion.py | 56 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 D | samplify.py | 13 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 D | Base.py | 24 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)
|