diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-16 21:36:19 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-16 21:36:19 +0000 |
| commit | 680344945f84364fbbcbe4d4a353a52d4a724653 (patch) | |
| tree | 1e8f541be4d451eff0e58ec6d76e066dd3167086 /src/2geom/svg-path.cpp | |
| parent | improving SVG Fonts UI (diff) | |
| download | inkscape-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.cpp | 8 |
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); } |
