summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorThomas Holder <speleo3@users.sourceforge.net>2008-12-16 15:52:36 +0000
committerspeleo3 <speleo3@users.sourceforge.net>2008-12-16 15:52:36 +0000
commit4fc3975983c401a7fb95084ab2db10d609e36f05 (patch)
treeaab43b87dcf998923b3d7b1c21b2c5dfa4e15f17 /src/main.cpp
parentAdded "Add" button to the SVG Fonts dialog. (diff)
downloadinkscape-4fc3975983c401a7fb95084ab2db10d609e36f05.tar.gz
inkscape-4fc3975983c401a7fb95084ab2db10d609e36f05.zip
* 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 <svg> 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)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index eb060570f..515ed9c18 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1191,7 +1191,7 @@ sp_do_export_png(SPDocument *doc)
// write object bbox to area
sp_document_ensure_up_to_date (doc);
Geom::OptRect areaMaybe;
- sp_item_invoke_bbox((SPItem *) o_area, areaMaybe, sp_item_i2r_affine((SPItem *) o_area), TRUE);
+ sp_item_invoke_bbox((SPItem *) o_area, areaMaybe, sp_item_i2d_affine((SPItem *) o_area), TRUE);
if (areaMaybe) {
area = *areaMaybe;
} else {