/inkscape/share/extensions/ |
H A D | split.py | 58 fontsize = parseStyle(node.get("style"))["font-size"] 60 fontsize = "12px" 61 fs = self.unittouu(fontsize) 124 fontsize = parseStyle(line.get("style"))["font-size"] 126 fontsize = "12px" 127 fs = self.unittouu(fontsize) 170 fontsize = simplestyle.parseStyle(word.get("style"))["font-size"] 172 fontsize = "12px" 173 fs = self.unittouu(fontsize)
|
H A D | measure.py | 172 self.OptionParser.add_option("-f", "--fontsize", 174 dest="fontsize", default=20, 220 self.options.fontsize /= factor 264 self.addTextWithTspan(self.group, tx, ty, lenstr+' '+self.options.unit, id, anchor, -int(self.options.angle), self.options.offset + self.options.fontsize/2) 266 self.addTextWithTspan(self.group, tx, ty, lenstr+' '+self.options.unit+'^2', id, anchor, -int(self.options.angle), -self.options.offset + self.options.fontsize/2) 302 'text-anchor': anchor, 'font-size': str(self.options.fontsize), 322 'text-anchor': anchor, 'font-size': str(self.options.fontsize),
|
H A D | dots.py | 29 self.OptionParser.add_option("-f", "--fontsize", 31 dest="fontsize", default="20", 115 s = {'font-size': self.unittouu(self.options.fontsize), 'fill-opacity': '1.0', 'stroke': 'none',
|
/inkscape/src/display/ |
H A D | canvas-text.h | 53 double fontsize; member in struct:SPCanvasText
|
H A D | snap-indicator.cpp | 290 double fontsize = prefs->getInt("/tools/measure/fontsize"); local 296 tooltip_pos += _desktop->w2d(Geom::Point(0, -3*fontsize)); 298 tooltip_pos += _desktop->w2d(Geom::Point(0, -2*fontsize)); 302 sp_canvastext_set_fontsize(SP_CANVASTEXT(canvas_tooltip), fontsize); local
|
H A D | canvas-text.cpp | 55 canvastext->fontsize = 10.0; 61 canvastext->border = 3; // must be a constant, and not proportional to any width, height, or fontsize to allow alignment with other text boxes 87 cairo_set_font_size(buf->ct, cl->fontsize); 141 cairo_set_font_size(tmp_buf, cl->fontsize); 300 ct->fontsize = size;
|
/inkscape/src/ui/tools/ |
H A D | measure-tool.cpp | 111 void repositionOverlappingLabels(std::vector<LabelPlacement> &placements, SPDesktop *desktop, Geom::Point const &normal, double fontsize, int precision) argument 118 Geom::Point tmp(fontsize * (6 + precision) + (border * 2), fontsize + (border * 2)); 142 place.offset += (fontsize + border); 160 * @param fontsize the size to display the text label at. 164 double fontsize) 173 double scaledFontsize = std::abs(fontsize * desktop->w2d(Geom::Point(0, 1.0))[Geom::Y]); 182 Geom::Point textBox = desktop->w2d(Geom::Point(fontsize * 3, fontsize / 2)); 826 double fontsize local 162 calcAngleDisplayAnchor(SPDesktop *desktop, double angle, double baseAngle, Geom::Point const &startPoint, Geom::Point const &endPoint, double fontsize) argument 913 setLabelText(const char *value, Geom::Point pos, double fontsize, Geom::Coord angle, guint32 background, Inkscape::XML::Node *measure_repr, CanvasTextAnchorPositionEnum text_anchor) argument 940 font_size << fontsize; local 942 font_size << fontsize << "pt"; local 1038 setMeasureCanvasText(bool is_angle, double precision, double amount, double fontsize, Glib::ustring unit_name, Geom::Point position, guint32 background, CanvasTextAnchorPositionEnum text_anchor, bool to_item, bool to_phantom, Inkscape::XML::Node *measure_repr) argument 1217 double fontsize = prefs->getDouble("/tools/measure/fontsize", 10.0); local [all...] |
H A D | measure-tool.h | 61 void setMeasureCanvasText(bool is_angle, double precision, double amount, double fontsize, Glib::ustring unit_name, Geom::Point position, guint32 background, CanvasTextAnchorPositionEnum text_anchor, bool to_item, bool to_phantom, Inkscape::XML::Node *measure_repr); 64 void setLabelText(const char *value, Geom::Point pos, double fontsize, Geom::Coord angle, guint32 background , Inkscape::XML::Node *measure_repr = NULL, CanvasTextAnchorPositionEnum text_anchor = TEXT_ANCHOR_CENTER );
|
/inkscape/src/widgets/ |
H A D | font-selector.cpp | 56 gfloat fontsize; member in struct:SPFontSelector 265 fsel->fontsize = 18.0; 396 gfloat old_size = fsel->fontsize; 416 fsel->fontsize = value; 417 if ( fabs(fsel->fontsize-old_size) > 0.001) 523 if (size != fsel->fontsize) 528 fsel->fontsize = size; 546 return fsel->fontsize;
|
/inkscape/src/ui/widget/ |
H A D | preferences-widget.cpp | 379 double fontsize = ZoomCorrRuler::textsize, std::string fontdesc = "Sans") { 385 sizestr << fontsize; local
|