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

/inkscape/src/
H A Dsp-item-transform.cpp154 gdouble scale_y = 1; local
158 scale_y = h1/h0;
159 scale_x = transform_stroke ? 1 : scale_y;
164 scale_y = transform_stroke ? 1 : scale_x;
165 unbudge *= Geom::Translate (0, -flip_y * 0.5 * (scale_y - 1.0) * h0);
190 scale_y = (h1 - r1)/(h0 - r0);
192 unbudge *= Geom::Translate (-flip_x * 0.5 * (r0 * scale_x - r1), -flip_y * 0.5 * (r0 * scale_y - r1));
196 scale_y = (h1 - r0) / (h0 - r0);
197 unbudge *= Geom::Translate (-flip_x * 0.5 * r0 * (scale_x - 1), -flip_y * 0.5 * r0 * (scale_y - 1));
200 // new_stroke_x = stroke_x*sqrt(scale_x/scale_y)
[all...]
H A Dviewbox.cpp172 double scale_y = in.height() / this->viewBox.height(); local
175 if (Geom::are_near(scale_x / scale_y, 1.0, Geom::EPSILON)) {
177 scale_uniform = (scale_x + scale_y)/2.0;
181 scale_y = scale_uniform;
184 scale_uniform = (this->aspect_clip == SP_ASPECT_MEET) ? MIN (scale_x, scale_y) : MAX (scale_x, scale_y);
186 scale_y = scale_uniform;
232 q[3] = scale_y;
234 q[5] = y - scale_y * this->viewBox.top();
H A Dpersp3d.cpp97 double scale_y = 1.0; local
101 scale_y = root->height.computed / root->viewBox.height();
108 Proj::Pt2 ptn ( pt[0]*scale_x, pt[1]*scale_y, pt[2] );
116 Proj::Pt2 ptn ( pt[0]*scale_x, pt[1]*scale_y, pt[2] );
124 Proj::Pt2 ptn ( pt[0]*scale_x, pt[1]*scale_y, pt[2] );
132 Proj::Pt2 ptn ( pt[0]*scale_x, pt[1]*scale_y, pt[2] );
241 double scale_y = 1.0; local
245 scale_y = root->viewBox.height() / root->height.computed;
250 os << pt[0] * scale_x << " : " << pt[1] * scale_y << " : " << pt[2];
256 os << pt[0] * scale_x << " : " << pt[1] * scale_y << "
[all...]
H A Dtext-tag-attributes.h94 void transform(Geom::Affine const &matrix, double scale_x, double scale_y, bool extend_zero_length = false);
H A Ddocument.cpp625 double scale_y = 1.0; local
630 scale_y = root->height.computed / root->viewBox.height();
632 scale = Geom::Scale(scale_x, scale_y);
H A Dsp-text.cpp986 void TextTagAttributes::transform(Geom::Affine const &matrix, double scale_x, double scale_y, bool extend_zero_length) argument
1021 *it = it->computed * scale_y;
/inkscape/src/display/
H A Dnr-filter-units.cpp139 double scale_y = 1.0 / (max[Y] - min[Y]); local
140 //return Geom::Translate(min) * Geom::Scale(scale_x,scale_y); ?
142 0, scale_y,
143 min[X] * scale_x, min[Y] * scale_y);
H A Dcanvas-grid.cpp372 double scale_y = 1.0; local
375 scale_y = root->viewBox.height() / root->height.computed;
381 os_y << origin_px[Geom::Y] * scale_y; local
539 double scale_y = 1.0; local
542 scale_y = root->height.computed / root->viewBox.height();
543 if (Geom::are_near(scale_x / scale_y, 1.0, Geom::EPSILON)) {
545 scale_x = (scale_x + scale_y)/2.0;
549 scale_y = scale_x;
577 origin[Geom::Y] = q.quantity * scale_y;
614 spacing[Geom::Y] = q.quantity * scale_y;
[all...]
H A Dcanvas-axonomgrid.cpp215 double scale_y = 1.0; local
218 scale_y = root->height.computed / root->viewBox.height();
219 if (Geom::are_near(scale_x / scale_y, 1.0, Geom::EPSILON)) {
221 scale_x = (scale_x + scale_y)/2.0;
225 scale_y = scale_x;
253 origin[Geom::Y] = q.quantity * scale_y;
266 lengthy = q.quantity * scale_y; // We do not handle scale_x != scale_y
/inkscape/src/live_effects/
H A Dlpe-powerstroke-interpolators.h184 Coord scale_y = 100.; local
190 controlpoints[i].y = points[i][Y] / scale_y;
200 fit *= Scale(1,scale_y);
/inkscape/src/ui/
H A Dclipboard.cpp1275 double scale_y = 1.0; local
1281 scale_y = (max[Geom::Y] - min[Geom::Y]) / obj_rect[Geom::Y].extent();
1287 scale_y = scale_x;
1290 scale_x = scale_y;
1294 return Geom::Scale(scale_x, scale_y);
/inkscape/src/extension/internal/pdfinput/
H A Dpdf-input.cpp612 double scale_y = (double)_preview_height / height; local
613 double scale_factor = ( scale_x > scale_y ) ? scale_y : scale_x;
/inkscape/src/extension/internal/
H A Dcairo-renderer.cpp495 double scale_y = bbox->height() / height; local
511 Geom::Affine t_on_document = (Geom::Affine)(Geom::Scale (scale_x, -scale_y)) *

Completed in 85 milliseconds