Code

- Fix bug #171150: Connectors should always touch the shape boundary
[inkscape.git] / src / sp-conn-end-pair.cpp
index 49d6fbcdbc67e8823b9cd996974555c165f34591..4dc0230ff71c27ff4c7293f7e223dd351b09392f 100644 (file)
@@ -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); 
 }
 
 /*