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

/inkscape/src/
H A Dviewbox.cpp173 double scale_uniform = 1.0; // used only if scaling is uniform local
177 scale_uniform = (scale_x + scale_y)/2.0;
178 if (Geom::are_near(scale_uniform / scale_none, 1.0, Geom::EPSILON))
179 scale_uniform = scale_none; // objects are same size, reduce numerical error
180 scale_x = scale_uniform;
181 scale_y = 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;
186 scale_y = scale_uniform;
187 double width = this->viewBox.width() * scale_uniform;
[all...]

Completed in 19 milliseconds