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

/inkscape/src/
H A Dviewbox.h44 void apply_viewbox(const Geom::Rect& in, double scale_none = 1.0);
46 SPItemCtx get_rctx( const SPItemCtx* ictx, double scale_none = 1.0);
H A Dviewbox.cpp164 void SPViewBox::apply_viewbox(const Geom::Rect& in, double scale_none) { argument
167 // scale_none is the scale that would apply if the viewbox and page size are same size
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
242 SPItemCtx SPViewBox::get_rctx(const SPItemCtx* ictx, double scale_none) { argument
253 apply_viewbox( rctx.viewport, scale_none );
/inkscape/src/display/
H A Dcanvas-axonomgrid.cpp222 double scale_none = Inkscape::Util::Quantity::convert(1, doc->getDisplayUnit(), "px"); local
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
H A Dcanvas-grid.cpp546 double scale_none = Inkscape::Util::Quantity::convert(1, doc->getDisplayUnit(), "px"); local
547 if (Geom::are_near(scale_x / scale_none, 1.0, Geom::EPSILON))
548 scale_x = scale_none; // objects are same size, reduce numerical error

Completed in 34 milliseconds