summaryrefslogtreecommitdiffstats
path: root/src/2geom/svg-path.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-16 21:36:19 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-16 21:36:19 +0000
commit680344945f84364fbbcbe4d4a353a52d4a724653 (patch)
tree1e8f541be4d451eff0e58ec6d76e066dd3167086 /src/2geom/svg-path.cpp
parentimproving SVG Fonts UI (diff)
downloadinkscape-680344945f84364fbbcbe4d4a353a52d4a724653.tar.gz
inkscape-680344945f84364fbbcbe4d4a353a52d4a724653.zip
update to latest 2geom (rev1497)
(bzr r6332)
Diffstat (limited to 'src/2geom/svg-path.cpp')
-rw-r--r--src/2geom/svg-path.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/2geom/svg-path.cpp b/src/2geom/svg-path.cpp
index c178b92da..bed04d3ff 100644
--- a/src/2geom/svg-path.cpp
+++ b/src/2geom/svg-path.cpp
@@ -59,9 +59,9 @@ void output(QuadraticBezier const &curve, SVGPathSink &sink) {
sink.quadTo(curve[1], curve[2]);
}
-void output(EllipticalArc const &curve, SVGPathSink &sink) {
- sink.arcTo( curve.ray(X), curve.ray(Y), curve.rotation_angle(),
- curve.large_arc_flag(), curve.sweep_flag(),
+void output(SVGEllipticalArc const &curve, SVGPathSink &sink) {
+ sink.arcTo( curve.ray(X), curve.ray(Y), curve.rotation_angle(),
+ curve.large_arc_flag(), curve.sweep_flag(),
curve.finalPoint() );
}
@@ -86,7 +86,7 @@ void output_svg_path(Path &path, SVGPathSink &sink) {
output_as<LineSegment>(*iter, sink) ||
output_as<CubicBezier>(*iter, sink) ||
output_as<QuadraticBezier>(*iter, sink) ||
- output_as<EllipticalArc>(*iter, sink) ||
+ output_as<SVGEllipticalArc>(*iter, sink) ||
output_as<Curve>(*iter, sink);
}