Lines Matching refs:text

86     with optional drop shadow, from a csv file or from pasted text
182 self.OptionParser.add_option("-o", "--text-offset", action="store",
406 # If keys are given, create text elements
408 text = inkex.etree.Element(inkex.addNS('text', 'svg'))
410 text.set("transform", "matrix(0,-1,1,0,0,0)")
412 text.set("x", "-" + str(height/2 + text_offset))
414 text.set("y", str(width/2 + offset + bar_width/2 + font_size/3))
416 text.set("y", str(width/2 + offset + bar_width/2 + font_size/3))
417 text.set("x", str(height/2 - text_offset))
419 text.set("style", "font-size:" + str(font_size)\
421 + font + ";-inkscape-font-specification:Bitstream Charter;text-align:end;text-anchor:end;fill:"\
424 text.text = keys[cnt]
434 layer.append(text)
437 vtext = inkex.etree.Element(inkex.addNS('text', 'svg'))
450 + font + ";-inkscape-font-specification:Bitstream Charter;text-align:start;text-anchor:start;fill:"\
453 vtext.text = str(int(orig_values[cnt]))
532 #If text is given, draw short paths and add the text
545 text = inkex.etree.Element(inkex.addNS('text', 'svg'))
546 text.set("x", str((width/2) + (pie_radius + text_offset) * math.cos(angle/2 + offset)))
547 text.set("y", str((height/2) + (pie_radius + text_offset) * math.sin(angle/2 + offset) + font_size/3))
553 text.set("style", textstyle)
555 text.set("style", textstyle + ";text-align:end;text-anchor:end")
556 text.text = keys[cnt]
558 text.text = text.text + "(" + str(values[cnt])
561 text.text = text.text + " %"
563 text.text = text.text + ")"
566 layer.append(text)
644 #If text is given, draw short paths and add the text
656 text = inkex.etree.Element(inkex.addNS('text', 'svg'))
657 text.set("x", str(width/2 + bar_width + text_offset + 1))
658 text.set("y", str(height/ 2 - offset + font_size/3 - (normedvalue/2)))
659 text.set("style", "font-size:" + str(font_size)
662 text.text = keys[cnt]
664 layer.append(text)
674 text = inkex.etree.Element(inkex.addNS('text', 'svg'))
675 text.set("x", str((width)/2 + offset + normedvalue/2 - font_size/3))
676 text.set("y", str((height/2) + bar_width + (font_size * (i + 1)) + text_offset))
677 text.set("style", "font-size:" + str(font_size)
680 text.text = keys[color]
681 layer.append(text)
698 headingtext = inkex.etree.Element(inkex.addNS('text', 'svg'))
703 + font + ";-inkscape-font-specification:Bitstream Charter;text-align:end;text-anchor:end;fill:"\
706 headingtext.text = heading