summaryrefslogtreecommitdiffstats
path: root/src/2geom
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2015-10-14 19:47:34 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2015-10-14 19:47:34 +0000
commite49ce373b61fba07422c156090b0ee7553cde18f (patch)
tree708570cc84fa85d99767c61d669ad8138353db8f /src/2geom
parentimproved results of roughen LPE (diff)
downloadinkscape-e49ce373b61fba07422c156090b0ee7553cde18f.tar.gz
inkscape-e49ce373b61fba07422c156090b0ee7553cde18f.zip
Fix snapping while rotating a selection
Fixed bugs: - https://launchpad.net/bugs/1479167 (bzr r14411)
Diffstat (limited to 'src/2geom')
-rw-r--r--src/2geom/path-sink.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/path-sink.cpp b/src/2geom/path-sink.cpp
index 3b8d407f8..77301b716 100644
--- a/src/2geom/path-sink.cpp
+++ b/src/2geom/path-sink.cpp
@@ -73,8 +73,8 @@ void PathSink::feed(Rect const &r) {
void PathSink::feed(Circle const &e) {
Coord r = e.radius();
Point c = e.center();
- Point a = c + Point(0, c[Y] + r);
- Point b = c + Point(0, c[Y] - r);
+ Point a = c + Point(0, +r);
+ Point b = c + Point(0, -r);
moveTo(a);
arcTo(r, r, 0, false, false, b);