Searched defs:scale_x (Results 1 - 11 of 11) sorted by relevance
/inkscape/src/ |
H A D | viewbox.cpp | 171 double scale_x = in.width() / this->viewBox.width(); local 175 if (Geom::are_near(scale_x / scale_y, 1.0, Geom::EPSILON)) { 177 scale_uniform = (scale_x + scale_y)/2.0; 180 scale_x = scale_uniform; 184 scale_uniform = (this->aspect_clip == SP_ASPECT_MEET) ? MIN (scale_x, scale_y) : MAX (scale_x, scale_y); 185 scale_x = scale_uniform; 229 q[0] = scale_x; 233 q[4] = x - scale_x * this->viewBox.left();
|
H A D | sp-item-transform.cpp | 153 gdouble scale_x = 1; local 159 scale_x = transform_stroke ? 1 : scale_y; 160 unbudge *= Geom::Translate (-flip_x * 0.5 * (scale_x - 1.0) * w0, 0); 163 scale_x = w1/w0; 164 scale_y = transform_stroke ? 1 : scale_x; 187 // If w1 < 0 then the scale will be wrong if we just assume that scale_x = (w1 - r1)/(w0 - r0); 189 scale_x = (w1 - r1)/(w0 - r0); 192 unbudge *= Geom::Translate (-flip_x * 0.5 * (r0 * scale_x - r1), -flip_y * 0.5 * (r0 * scale_y - r1)); 195 scale_x = (w1 - r0) / (w0 - r0); 197 unbudge *= Geom::Translate (-flip_x * 0.5 * r0 * (scale_x [all...] |
H A D | persp3d.cpp | 96 double scale_x = 1.0; local 100 scale_x = root->width.computed / root->viewBox.width(); 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] ); 240 double scale_x = 1.0; local 244 scale_x = root->viewBox.width() / root->width.computed; 250 os << pt[0] * scale_x << " : " << pt[1] * scale_y << " : " << pt[2]; 256 os << pt[0] * scale_x << " [all...] |
H A D | sp-text.cpp | 986 void TextTagAttributes::transform(Geom::Affine const &matrix, double scale_x, double scale_y, bool extend_zero_length) argument 1019 *it = it->computed * scale_x;
|
H A D | document.cpp | 624 double scale_x = 1.0; local 627 scale_x = root->width.computed / root->viewBox.width(); 632 scale = Geom::Scale(scale_x, scale_y);
|
/inkscape/src/display/ |
H A D | nr-filter-units.cpp | 138 double scale_x = 1.0 / (max[X] - min[X]); local 140 //return Geom::Translate(min) * Geom::Scale(scale_x,scale_y); ? 141 return Geom::Affine(scale_x, 0, 143 min[X] * scale_x, min[Y] * scale_y);
|
H A D | canvas-axonomgrid.cpp | 214 double scale_x = 1.0; local 217 scale_x = root->width.computed / root->viewBox.width(); 219 if (Geom::are_near(scale_x / scale_y, 1.0, Geom::EPSILON)) { 221 scale_x = (scale_x + scale_y)/2.0; 223 if (Geom::are_near(scale_x / scale_none, 1.0, Geom::EPSILON)) 224 scale_x = scale_none; // objects are same size, reduce numerical error 225 scale_y = scale_x; 240 origin[Geom::X] = q.quantity * scale_x; 266 lengthy = q.quantity * scale_y; // We do not handle scale_x ! [all...] |
H A D | canvas-grid.cpp | 371 double scale_x = 1.0; local 374 scale_x = root->viewBox.width() / root->width.computed; 380 os_x << origin_px[Geom::X] * scale_x; local 538 double scale_x = 1.0; local 541 scale_x = root->width.computed / root->viewBox.width(); 543 if (Geom::are_near(scale_x / scale_y, 1.0, Geom::EPSILON)) { 545 scale_x = (scale_x + scale_y)/2.0; 547 if (Geom::are_near(scale_x / scale_none, 1.0, Geom::EPSILON)) 548 scale_x [all...] |
/inkscape/src/extension/internal/ |
H A D | cairo-renderer.cpp | 494 double scale_x = bbox->width() / width; local 511 Geom::Affine t_on_document = (Geom::Affine)(Geom::Scale (scale_x, -scale_y)) *
|
/inkscape/src/extension/internal/pdfinput/ |
H A D | pdf-input.cpp | 611 double scale_x = (double)_preview_width / width; local 613 double scale_factor = ( scale_x > scale_y ) ? scale_y : scale_x;
|
/inkscape/src/ui/ |
H A D | clipboard.cpp | 1274 double scale_x = 1.0; local 1278 scale_x = (max[Geom::X] - min[Geom::X]) / obj_rect[Geom::X].extent(); 1287 scale_y = scale_x; 1290 scale_x = scale_y; 1294 return Geom::Scale(scale_x, scale_y);
|
Completed in 33 milliseconds