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

/inkscape/src/
H A Dsp-item-transform.cpp109 // 1) We start with a visual bounding box (w0, h0) which we want to transfer into another visual bounding box (w1, h1)
112 // -> The width and height of the geometric bounding box will therefore be (w0 - 2*0.5*r0) and (h0 - 2*0.5*r0)
119 gdouble h0 = bbox_visual.height(); local
134 // w0 and h0 will always be positive due to the definition of the width() and height() methods.
139 Geom::Affine direct = Geom::Scale(flip_x * w1 / w0, flip_y* h1 / h0); // Scaling of the visual bounding box
149 if ((fabs(w0 - stroke_x) < 1e-6) && (fabs(h0 - stroke_y) < 1e-6)) {
158 scale_y = h1/h0;
162 } else if ((fabs(h0 - stroke_y) < 1e-6) || h1 == 0) { // We have a horizontal line at hand
165 unbudge *= Geom::Translate (0, -flip_y * 0.5 * (scale_y - 1.0) * h0);
166 unbudge *= Geom::Translate (0, flip_y * 0.5 * (h1 - h0)); // compensat
269 gdouble h0 = bbox_visual.height(); local
[all...]

Completed in 71 milliseconds