summaryrefslogtreecommitdiffstats
path: root/src/dyna-draw-context.cpp
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-04-13 01:33:31 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-04-13 01:33:31 +0000
commit1f878b666eabc935a6578f80d4a2384974c90073 (patch)
treec10a1ca67974850a0107925933c7da93567f8f91 /src/dyna-draw-context.cpp
parentAdd keyboard binding for Paint Bucket and Set Clipping Path (diff)
downloadinkscape-1f878b666eabc935a6578f80d4a2384974c90073.tar.gz
inkscape-1f878b666eabc935a6578f80d4a2384974c90073.zip
fix thinning that didn't work for paths inside a transformed group
(bzr r2871)
Diffstat (limited to 'src/dyna-draw-context.cpp')
-rw-r--r--src/dyna-draw-context.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp
index ad8d18442..6925960ea 100644
--- a/src/dyna-draw-context.cpp
+++ b/src/dyna-draw-context.cpp
@@ -669,10 +669,11 @@ sp_ddc_dilate (SPDynaDrawContext *dc, NR::Point p, bool expand)
}
bool did_this = false;
+ NR::Matrix i2doc(sp_item_i2doc_affine(item));
if (theShape->MakeOffset(theRes,
- expand? offset : -offset,
- join_straight, butt_straight,
- true, p[NR::X], p[NR::Y], radius) == 0) // 0 means the shape was actually changed
+ expand? offset : -offset,
+ join_straight, butt_straight,
+ true, p[NR::X], p[NR::Y], radius, &i2doc) == 0) // 0 means the shape was actually changed
did_this = true;
// the rest only makes sense if we actually changed the path