Lines Matching refs:fontsize

111 void repositionOverlappingLabels(std::vector<LabelPlacement> &placements, SPDesktop *desktop, Geom::Point const &normal, double fontsize, int precision)
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 = prefs->getDouble("/tools/measure/fontsize", 10.0);
836 setLabelText(totallength_str, middle, fontsize, Geom::rad_from_deg(180) - ray.angle(), color);
913 void MeasureTool::setLabelText(const char *value, Geom::Point pos, double fontsize, Geom::Coord angle, guint32 background, Inkscape::XML::Node *measure_repr, CanvasTextAnchorPositionEnum text_anchor)
940 font_size << fontsize;
942 font_size << fontsize << "pt";
1038 void MeasureTool::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)
1053 sp_canvastext_set_fontsize(canvas_tooltip, fontsize);
1069 setLabelText(measure_str, position, fontsize, 0, background, measure_repr);
1217 double fontsize = prefs->getDouble("/tools/measure/fontsize", 10.0);
1252 repositionOverlappingLabels(placements, desktop, windowNormal, fontsize, precision);
1256 setMeasureCanvasText(false, precision, place.lengthVal * scale, fontsize, unit_name, place.end, 0x0000007f, TEXT_ANCHOR_CENTER, to_item, to_phantom, measure_repr);
1260 fontsize);
1262 setMeasureCanvasText(true, precision, Geom::deg_from_rad(angle), fontsize, unit_name, angleDisplayPt, 0x337f337f, TEXT_ANCHOR_CENTER, to_item, to_phantom, measure_repr);
1268 Geom::Point origin = end_p + desktop->w2d(Geom::Point(3*fontsize, -fontsize));
1269 setMeasureCanvasText(false, precision, totallengthval * scale, fontsize, unit_name, origin, 0x3333337f, TEXT_ANCHOR_LEFT, to_item, to_phantom, measure_repr);
1276 setMeasureCanvasText(false, precision, totallengthval * scale, fontsize, unit_name, origin, 0x33337f7f, TEXT_ANCHOR_CENTER, to_item, to_phantom, measure_repr);