summaryrefslogtreecommitdiffstats
path: root/src/svg/svg-path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg/svg-path.cpp')
-rw-r--r--src/svg/svg-path.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp
index 22af18acb..8781d75e6 100644
--- a/src/svg/svg-path.cpp
+++ b/src/svg/svg-path.cpp
@@ -93,9 +93,9 @@ static void sp_svg_write_curve(Inkscape::SVG::PathString & str, Geom::Curve cons
(*cubic_bezier)[3][0], (*cubic_bezier)[3][1] );
}
else if(Geom::SVGEllipticalArc const *svg_elliptical_arc = dynamic_cast<Geom::SVGEllipticalArc const *>(c)) {
- str.arcTo( svg_elliptical_arc->ray(0), svg_elliptical_arc->ray(1),
- Geom::rad_to_deg(svg_elliptical_arc->rotation_angle()),
- svg_elliptical_arc->large_arc_flag(), svg_elliptical_arc->sweep_flag(),
+ str.arcTo( svg_elliptical_arc->ray(Geom::X), svg_elliptical_arc->ray(Geom::Y),
+ Geom::rad_to_deg(svg_elliptical_arc->rotationAngle()),
+ svg_elliptical_arc->largeArc(), svg_elliptical_arc->sweep(),
svg_elliptical_arc->finalPoint() );
}
else if(Geom::HLineSegment const *hline_segment = dynamic_cast<Geom::HLineSegment const *>(c)) {