summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-08-03 17:57:02 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-08-03 17:57:02 +0000
commitaada73b44698ba16d06789c75215c110878632d0 (patch)
tree94d65f6eb2d8e52b7a94605d326f478fdbec82f5 /src
parentMinor cleanup work on macros (diff)
downloadinkscape-aada73b44698ba16d06789c75215c110878632d0.tar.gz
inkscape-aada73b44698ba16d06789c75215c110878632d0.zip
fix arc conversion to livarot
(bzr r6547)
Diffstat (limited to 'src')
-rw-r--r--src/livarot/PathCutting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/livarot/PathCutting.cpp b/src/livarot/PathCutting.cpp
index e84f85e0a..3a7bd71ad 100644
--- a/src/livarot/PathCutting.cpp
+++ b/src/livarot/PathCutting.cpp
@@ -302,7 +302,7 @@ Path::MakePathVector()
{
/* TODO: add testcase for this descr_arcto case */
PathDescrArcTo *nData = dynamic_cast<PathDescrArcTo *>(descr_cmd[i]);
- currentpath->appendNew<Geom::SVGEllipticalArc>( nData->rx, nData->ry, nData->angle, nData->large, nData->clockwise, to_2geom(nData->p) );
+ currentpath->appendNew<Geom::SVGEllipticalArc>( nData->rx, nData->ry, nData->angle, nData->large, !nData->clockwise, to_2geom(nData->p) );
lastP = nData->p;
}
break;
@@ -400,7 +400,7 @@ void Path::AddCurve(Geom::Curve const &c)
ArcTo( from_2geom(svg_elliptical_arc->finalPoint()),
svg_elliptical_arc->ray(0), svg_elliptical_arc->ray(1),
svg_elliptical_arc->rotation_angle(),
- svg_elliptical_arc->large_arc_flag(), svg_elliptical_arc->sweep_flag() );
+ svg_elliptical_arc->large_arc_flag(), !svg_elliptical_arc->sweep_flag() );
} else {
//this case handles sbasis as well as all other curve types
Geom::Path sbasis_path = Geom::cubicbezierpath_from_sbasis(c.toSBasis(), 0.1);