summaryrefslogtreecommitdiffstats
path: root/src/svg/svg-path.cpp
diff options
context:
space:
mode:
authorJasper van de Gronde <jasper.vandegronde@gmail.com>2008-06-20 11:11:50 +0000
committerjaspervdg <jaspervdg@users.sourceforge.net>2008-06-20 11:11:50 +0000
commitb775daf39f86160fd524f63c7a56e4756461c921 (patch)
tree1ba5381d08968e5f1d3b187ae8e3fcec841a04be /src/svg/svg-path.cpp
parentFix for sp-style-elem-test to make it work again with new code. (diff)
downloadinkscape-b775daf39f86160fd524f63c7a56e4756461c921.tar.gz
inkscape-b775daf39f86160fd524f63c7a56e4756461c921.zip
Partial fix (for preventing numerical issues) and restructuring for PathString, plus a small fix for the new 2geom sp_svg_write_curve.
(bzr r6005)
Diffstat (limited to 'src/svg/svg-path.cpp')
-rw-r--r--src/svg/svg-path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp
index d610b9212..24ce3c15c 100644
--- a/src/svg/svg-path.cpp
+++ b/src/svg/svg-path.cpp
@@ -735,7 +735,7 @@ static void sp_svg_write_curve(Inkscape::SVG::PathString & str, Geom::Curve cons
str.lineTo( (*line_segment)[1][0], (*line_segment)[1][1] );
}
else if(Geom::QuadraticBezier const *quadratic_bezier = dynamic_cast<Geom::QuadraticBezier const *>(c)) {
- str.quadTo( (*quadratic_bezier)[1][0], (*quadratic_bezier)[1][0],
+ str.quadTo( (*quadratic_bezier)[1][0], (*quadratic_bezier)[1][1],
(*quadratic_bezier)[2][0], (*quadratic_bezier)[2][1] );
}
else if(Geom::CubicBezier const *cubic_bezier = dynamic_cast<Geom::CubicBezier const *>(c)) {