648
648
double high = doc->getHeight();
649
649
if (ctx->_vector_based_target)
652
652
// this transform translates the export drawing to a virtual page (0,0)-(width,height)
653
Geom::Affine tp(Geom::Translate(-d.left() * (ctx->_vector_based_target ? Inkscape::Util::Quantity::convert(1, "pt", "px") : 1.0),
654
(d.bottom() - high) * (ctx->_vector_based_target ? Inkscape::Util::Quantity::convert(1, "pt", "px") : 1.0)));