summaryrefslogtreecommitdiffstats
path: root/src/splivarot.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/splivarot.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/splivarot.cpp')
-rw-r--r--src/splivarot.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index eb01e625a..55d1146b1 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -452,11 +452,11 @@ sp_selected_path_boolop(SPDesktop *desktop, bool_op bop, const unsigned int verb
// adjust style properties that depend on a possible transform in the source object in order
// to get a correct style attribute for the new path
SPItem* item_source = SP_ITEM(source);
- NR::Matrix i2root(sp_item_i2root_affine(item_source));
- sp_item_adjust_stroke(item_source, i2root.descrim());
- sp_item_adjust_pattern(item_source, i2root);
- sp_item_adjust_gradient(item_source, i2root);
- sp_item_adjust_livepatheffect(item_source, i2root);
+ NR::Matrix i2doc(sp_item_i2doc_affine(item_source));
+ sp_item_adjust_stroke(item_source, i2doc.descrim());
+ sp_item_adjust_pattern(item_source, i2doc);
+ sp_item_adjust_gradient(item_source, i2doc);
+ sp_item_adjust_livepatheffect(item_source, i2doc);
Inkscape::XML::Node *repr_source = SP_OBJECT_REPR(source);