From 25fa09178b7d0d0befa708e93ea5316ef381caa0 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Fri, 22 May 2015 10:23:27 +0200 Subject: Update to 2Geom revision 2396 (bzr r14059.2.16) --- src/2geom/path-sink.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/2geom/path-sink.h') diff --git a/src/2geom/path-sink.h b/src/2geom/path-sink.h index d6806031d..17ede18a4 100644 --- a/src/2geom/path-sink.h +++ b/src/2geom/path-sink.h @@ -32,6 +32,7 @@ #ifndef LIB2GEOM_SEEN_PATH_SINK_H #define LIB2GEOM_SEEN_PATH_SINK_H +#include <2geom/forward.h> #include <2geom/pathvector.h> #include <2geom/curves.h> #include @@ -101,6 +102,10 @@ public: virtual void feed(PathVector const &v); /// Output an axis-aligned rectangle, using moveTo, lineTo and closePath. virtual void feed(Rect const &); + /// Output a circle as two elliptical arcs. + virtual void feed(Circle const &e); + /// Output an ellipse as two elliptical arcs. + virtual void feed(Ellipse const &e); virtual ~PathSink() {} }; @@ -152,8 +157,8 @@ public: if (!_in_path) { moveTo(_start_p); } - _path.template appendNew(rx, ry, angle, - large_arc, sweep, p); + _path.template appendNew(rx, ry, angle, + large_arc, sweep, p); } bool backspace() -- cgit v1.2.3