summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7ec015e)
raw | patch | inline | side by side (parent: 7ec015e)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 3 Aug 2008 17:57:02 +0000 (17:57 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 3 Aug 2008 17:57:02 +0000 (17:57 +0000) |
src/livarot/PathCutting.cpp | patch | blob | history |
index e84f85e0a81ea310d620c568dee89d4a0e7aca2d..3a7bd71adf98aefeaf00ea46b6ab07bdf23e63ca 100644 (file)
{
/* 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;
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);