Lines Matching refs:scale_uniform
173 double scale_uniform = 1.0; // used only if scaling is uniform
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;
188 double height = this->viewBox.height() * scale_uniform;