diff options
| author | mjwybrow <mjwybrow@users.sourceforge.net> | 2009-07-15 05:12:33 +0000 |
|---|---|---|
| committer | mjwybrow <mjwybrow@users.sourceforge.net> | 2009-07-15 05:12:33 +0000 |
| commit | 419f6feaaed27b89c0bd4fe29c209f082afb8557 (patch) | |
| tree | 365e3c91f98e5f0781ba0ce49122bd9f09753fb9 /src/sp-conn-end-pair.cpp | |
| parent | Khmer translation updated (diff) | |
| download | inkscape-419f6feaaed27b89c0bd4fe29c209f082afb8557.tar.gz inkscape-419f6feaaed27b89c0bd4fe29c209f082afb8557.zip | |
- Fix bug #171150: Connectors should always touch the shape boundary
This fix is backported from some of Arcadie Cracan's Summer of Code
work on the gsoc2009_connectors branch.
(bzr r8284)
Diffstat (limited to 'src/sp-conn-end-pair.cpp')
| -rw-r--r-- | src/sp-conn-end-pair.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sp-conn-end-pair.cpp b/src/sp-conn-end-pair.cpp index 49d6fbcdb..4dc0230ff 100644 --- a/src/sp-conn-end-pair.cpp +++ b/src/sp-conn-end-pair.cpp @@ -309,6 +309,9 @@ SPConnEndPair::reroutePath(void) Geom::Point p(route.ps[i].x, route.ps[i].y); curve->lineto(p); } + + Geom::Matrix doc2item = sp_item_i2doc_affine(SP_ITEM(_path)).inverse(); + curve->transform(doc2item); } /* |
