Lines Matching defs:etree
28 from inkex import NSS, addNS, etree, errormsg
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.SubElement(param, "color")
275 r = etree.SubElement(el, "r")
277 g = etree.SubElement(el, "g")
279 b = etree.SubElement(el, "b")
281 a = etree.SubElement(el, "a")
284 el = etree.SubElement(param, "gradient")
288 color = etree.SubElement(el, "color")
293 r = etree.SubElement(color, "r")
295 g = etree.SubElement(color, "g")
297 b = etree.SubElement(color, "b")
299 a = etree.SubElement(color, "a")
302 el = etree.SubElement(param, "bool")
308 el = etree.SubElement(param, "time")
316 el = etree.SubElement(param, "bline")
346 entry = etree.SubElement(el, "entry")
347 composite = etree.SubElement(entry, "composite")
350 point = etree.SubElement(composite, "point")
351 vector = etree.SubElement(point, "vector")
352 etree.SubElement(vector, "x").text = str(x)
353 etree.SubElement(vector, "y").text = str(y)
355 width = etree.SubElement(composite, "width")
356 etree.SubElement(width, "real").set("value", "1.0")
358 origin = etree.SubElement(composite, "origin")
359 etree.SubElement(origin, "real").set("value", "0.5")
361 split_el = etree.SubElement(composite, "split")
362 etree.SubElement(split_el, "bool").set("value", split)
364 t1 = etree.SubElement(composite, "t1")
365 t2 = etree.SubElement(composite, "t2")
367 t1_rc = etree.SubElement(t1, "radial_composite")
370 t2_rc = etree.SubElement(t2, "radial_composite")
373 t1_r = etree.SubElement(t1_rc, "radius")
374 t2_r = etree.SubElement(t2_rc, "radius")
375 t1_radius = etree.SubElement(t1_r, "real")
376 t2_radius = etree.SubElement(t2_r, "real")
380 t1_t = etree.SubElement(t1_rc, "theta")
381 t2_t = etree.SubElement(t2_rc, "theta")
382 t1_angle = etree.SubElement(t1_t, "angle")
383 t2_angle = etree.SubElement(t2_t, "angle")
387 el = etree.SubElement(param, "canvas")