summaryrefslogtreecommitdiffstats
path: root/src/2geom/path-sink.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-10-16 10:24:04 +0000
committerjabiertxof <jabier.arraiza@marker.es>2015-10-16 10:24:04 +0000
commitc698002c4598209f6c4ccc0a86f89afb54f224a2 (patch)
treecf0c89fdc713f96eba2f760b909c0c648eb075b4 /src/2geom/path-sink.cpp
parentworking in dimension to item (diff)
parentupdate to trunk (diff)
downloadinkscape-c698002c4598209f6c4ccc0a86f89afb54f224a2.tar.gz
inkscape-c698002c4598209f6c4ccc0a86f89afb54f224a2.zip
update to current measure code
(bzr r14393.2.1)
Diffstat (limited to 'src/2geom/path-sink.cpp')
-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);