From 419f6feaaed27b89c0bd4fe29c209f082afb8557 Mon Sep 17 00:00:00 2001 From: mjwybrow Date: Wed, 15 Jul 2009 05:12:33 +0000 Subject: - 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) --- src/sp-conn-end-pair.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sp-conn-end-pair.cpp') 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); } /* -- cgit v1.2.3