Searched defs:bbox_geom (Results 1 - 3 of 3) sorted by relevance
/inkscape/src/ |
H A D | sp-item-transform.cpp | 256 Geom::Affine get_scale_transform_for_variable_stroke(Geom::Rect const &bbox_visual, Geom::Rect const &bbox_geom, bool transform_stroke, bool preserve, gdouble x0, gdouble y0, gdouble x1, gdouble y1) argument 278 gdouble r0w = w0 - bbox_geom.width(); // r0w is the average strokewidth of the left and right edges, i.e. 0.5*(r0l + r0r) 279 gdouble r0h = h0 - bbox_geom.height(); // r0h is the average strokewidth of the top and bottom edges, i.e. 0.5*(r0t + r0b) 308 gdouble stroke_ratio_w = fabs(r0w) < 1e-6 ? 1 : (bbox_geom[Geom::X].min() - bbox_visual[Geom::X].min())/r0w; 309 gdouble stroke_ratio_h = fabs(r0h) < 1e-6 ? 1 : (bbox_geom[Geom::Y].min() - bbox_visual[Geom::Y].min())/r0h;
|
/inkscape/src/widgets/ |
H A D | select-toolbar.cpp | 163 Geom::OptRect bbox_geom = selection->geometricBounds(); local 251 scaler = get_scale_transform_for_variable_stroke (*bbox_vis, *bbox_geom, transform_stroke, preserve, x0, y0, x1, y1); 257 scaler = get_scale_transform_for_uniform_stroke (*bbox_geom, 0, 0, false, false, x0, y0, x1, y1);
|
/inkscape/src/ui/dialog/ |
H A D | transformation.cpp | 817 Geom::OptRect bbox_geom = item->desktopGeometricBounds(); local 818 if (bbox_pref && bbox_geom) { 834 Geom::Affine scaler = get_scale_transform_for_variable_stroke (*bbox_pref, *bbox_geom, transform_stroke, preserve, x0, y0, x1, y1); 841 Geom::OptRect bbox_geom = selection->geometricBounds(); local 842 if (bbox_pref && bbox_geom) { 857 Geom::Affine scaler = get_scale_transform_for_variable_stroke (*bbox_pref, *bbox_geom, transform_stroke, preserve, x0, y0, x1, y1);
|
Completed in 20 milliseconds