Searched refs:el (Results 1 - 11 of 11) sorted by relevance

/inkscape/share/extensions/
H A Dinkweb.js44 InkWeb.el = function (tag, attributes) {
66 InkWeb.getStyle = function (el, att) {
67 // This method is needed because el.style is only working
69 if ( typeof(el) == "string" )
70 el = document.getElementById(el);
71 var style = el.getAttribute("style");
80 InkWeb.setStyle = function (el, att, val) {
81 if ( typeof(el) == "string" )
82 el
[all...]
H A Dwebslicer_export.py101 def unique_html_id(self, el):
102 for child in el.getchildren():
184 def get_el_conf(self, el):
185 desc = el.find(self.svgNS+'desc')
188 desc = inkex.etree.SubElement(el, 'desc')
196 if el == self.get_slicer_layer():
205 def save_conf(self, conf, el):
206 desc = el.find('{http://www.w3.org/2000/svg}desc')
216 for el in parent.getchildren():
217 el_conf = self.get_el_conf( el )
[all...]
H A Dmerge_styles.py56 def add(self, c, el):
57 self.total.append( (c, el) )
72 for (c, el) in self.total:
74 yield (c, el)
111 for el in elements:
112 common.add(Style(el.attrib['style']), el)
121 for (st, el) in common.all_matches():
123 el.attrib['style'] = st.to_str("")
125 olds = el
[all...]
H A Dweb-set-att.py74 evCode = "InkWeb.setAtt({el:['"+ "','".join(idTo) +"'], " + \
78 for el in elFrom:
79 prevEvCode = el.get( self.options.when )
87 el.set( self.options.when, elEvCode )
H A Dweb-transmit-att.py74 for el in elFrom:
75 prevEvCode = el.get( self.options.when )
83 el.set( self.options.when, elEvCode )
H A Dsynfig_output.py262 el = etree.SubElement(param, "real")
263 el.set("value", str(float(value)))
265 el = etree.SubElement(param, "integer")
266 el.set("value", str(int(value)))
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, "
[all...]
H A Dwebslicer_create_rect.py83 el = self.document.xpath( '//*[@id="'+name+'"]', namespaces=inkex.NSS )
84 if len(el) > 0:
88 while len(el) > 0:
92 el = self.document.xpath( '//*[@id="'+name+'-'+num_s+'"]',
H A Dwebslicer_create_group.py62 def get_descendants_in_array(self, el):
63 descendants = el.getchildren()
H A Dsynfig_prepare.py261 el = ['L', return_stack.pop()]
262 path.insert(i, el)
/inkscape/src/live_effects/
H A Dlpe-ellipse_5pts.cpp166 Geom::Ellipse el(a1, b1, c1, d1, e1, f1);
193 Geom::Affine aff = Geom::Scale(el.rays()) * Geom::Rotate(el.rotationAngle()) * Geom::Translate(el.center());
/inkscape/src/livarot/
H A DShape.cpp2231 double const el = Geom::dot(e, e); // edge length local
2234 if ( el > 0.001 ) {
2236 if ( npr > 0 && npr < el ) {
2238 double ndot = nl * nl / el;
2295 double const el = Geom::L2(e); local
2296 if ( el > 0.001 ) {
2297 Geom::Point const e_unit(e / el);
2299 if ( npr > 0 && npr < el ) {

Completed in 530 milliseconds