Searched defs:new_width (Results 1 - 2 of 2) sorted by relevance

/inkscape/src/extension/internal/
H A Dcairo-renderer.cpp823 double new_width, new_height; local
827 new_width = vp_width * scale;
834 *x -= 0.5 * (new_width - *width);
837 *x -= 1.0 * (new_width - *width);
843 *x -= 0.5 * (new_width - *width);
847 *x -= 1.0 * (new_width - *width);
854 *x -= 0.5 * (new_width - *width);
858 *x -= 1.0 * (new_width - *width);
864 *width = new_width;
/inkscape/src/ui/dialog/
H A Dtransformation.cpp819 double new_width = scaleX; local
823 new_width = scaleX/100 * bbox_pref->width();
826 if (fabs(new_width) < 1e-6) new_width = 1e-6; // not 0, as this would result in a nasty no-bbox object
829 double x0 = bbox_pref->midpoint()[Geom::X] - new_width/2;
831 double x1 = bbox_pref->midpoint()[Geom::X] + new_width/2;
844 double new_width = scaleX; local
847 new_width = scaleX/100 * bbox_pref->width();
850 if (fabs(new_width) < 1e-6) new_width
[all...]

Completed in 33 milliseconds