From 4fc3975983c401a7fb95084ab2db10d609e36f05 Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Tue, 16 Dec 2008 15:52:36 +0000 Subject: * remove sp_item_i2root_affine and sp_item_i2r_affine and replace all calls by sp_item_i2doc_affine or sp_item_i2d_affine respectively * remove sp_root_bbox, root->c2p was considered in the wrong place there * in sp_item_i2doc_affine do not consider SP_ITEM(object)->transform for root node, because node does not have a transform attribute * fix style scaling for boolean operations (with viewBox) * fix zoom to fit drawing (with viewBox) * fix export area size for "export drawing" (with viewBox) * fix simultaneous movement of clone + original (with viewBox) (bzr r7010) --- src/dialogs/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dialogs/export.cpp') diff --git a/src/dialogs/export.cpp b/src/dialogs/export.cpp index f1a68c999..cce57486d 100644 --- a/src/dialogs/export.cpp +++ b/src/dialogs/export.cpp @@ -1099,7 +1099,7 @@ sp_export_export_clicked (GtkButton */*button*/, GtkObject *base) } Geom::OptRect area; - sp_item_invoke_bbox(item, area, sp_item_i2r_affine((SPItem *) item), TRUE); + sp_item_invoke_bbox(item, area, sp_item_i2d_affine((SPItem *) item), TRUE); if (area) { gint width = (gint) (area->width() * dpi / PX_PER_IN + 0.5); gint height = (gint) (area->height() * dpi / PX_PER_IN + 0.5); -- cgit v1.2.3