diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-04-13 01:33:31 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-04-13 01:33:31 +0000 |
| commit | 1f878b666eabc935a6578f80d4a2384974c90073 (patch) | |
| tree | c10a1ca67974850a0107925933c7da93567f8f91 /src/dyna-draw-context.cpp | |
| parent | Add keyboard binding for Paint Bucket and Set Clipping Path (diff) | |
| download | inkscape-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.cpp | 7 |
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 |
