summaryrefslogtreecommitdiffstats
path: root/src/2geom/path-sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/2geom/path-sink.h')
-rw-r--r--src/2geom/path-sink.h9
1 files changed, 7 insertions, 2 deletions
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 <iterator>
@@ -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<SVGEllipticalArc>(rx, ry, angle,
- large_arc, sweep, p);
+ _path.template appendNew<EllipticalArc>(rx, ry, angle,
+ large_arc, sweep, p);
}
bool backspace()