Searched refs:tspan (Results 1 - 6 of 6) sorted by relevance

/inkscape/share/extensions/
H A Dsplit.py45 if not (n.tag == inkex.addNS("flowPara", "svg") or n.tag == inkex.addNS("tspan", "svg")):
75 #now let's convert flowPara into tspan
76 tspan = inkex.etree.Element(inkex.addNS("tspan", "svg"))
77 tspan.set(inkex.addNS("role","sodipodi"), "line")
78 tspan.text = n.text
79 text.append(tspan)
135 tspan = inkex.etree.Element(inkex.addNS("tspan", "svg"))
136 tspan
[all...]
H A Ddxf_input.py60 tspan = inkex.etree.SubElement(node , 'tspan', {inkex.addNS('role','sodipodi'): 'line'})
61 tspan.text = text[:found]
64 tspan = inkex.etree.SubElement(node , 'tspan', {inkex.addNS('role','sodipodi'): 'line'})
65 tspan.text = text
274 tspan = inkex.etree.SubElement(node , 'tspan', {inkex.addNS('role','sodipodi'): 'line'})
275 tspan.text = str(float('%.2f' % d))
/inkscape/share/extensions/ink2canvas/
H A Dsvg.py340 def text_helper(self, tspan):
341 if not len(tspan):
342 return unicode(tspan.text)
343 for ts in tspan:
368 for tspan in self.node:
369 text = self.text_helper(tspan)
370 _x = float(tspan.get("x"))
371 _y = float(tspan.get("y"))
/inkscape/src/
H A Dsp-text.cpp2 * SVG <text> and <tspan> implementation
50 #include "sp-tspan.h"
547 SPTSpan *tspan = SP_TSPAN(root); local
550 bool use_xy = !in_textpath && (tspan->role == SP_TSPAN_ROLE_UNSPECIFIED || !tspan->attributes.singleXYCoordinates());
551 tspan->attributes.mergeInto(&optional_attrs, parent_optional_attrs, parent_attrs_offset, use_xy, true);
624 SPTSpan *tspan = SP_TSPAN(child); local
625 if ( (tspan->role != SP_TSPAN_ROLE_UNSPECIFIED)
626 && tspan->attributes.singleXYCoordinates() ) {
627 Inkscape::Text::Layout::iterator iter = layout.sourceToIterator(tspan);
[all...]
H A Ddesktop-style.cpp41 #include "sp-tspan.h"
117 // However, if the line tspan or textPath contains some style (old file?), we reluctantly set our style to it too.
123 SPTSpan *tspan = dynamic_cast<SPTSpan *>(o); local
126 && ((tspan && tspan->role == SP_TSPAN_ROLE_LINE)
H A Dselection-chemistry.cpp47 #include "sp-tspan.h"
1201 // if this is a text with exactly one tspan child, merge the style of that tspan as well
2708 SPObject *tspan = sp_tref_convert_to_tspan(item); local
2710 if (tspan) {

Completed in 1500 milliseconds