summaryrefslogtreecommitdiffstats
path: root/src/2geom
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-15 01:00:13 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-15 01:00:13 +0000
commit4e55047ecca768151c26faa9a6b35b87067bed94 (patch)
tree885fbca4a07e791ddce5a591f3e7346023de5e91 /src/2geom
parentFix errors on compile and in console detected by su_v, added selection of str... (diff)
parentFix tangent calculation for counter-clockwise arcs. (diff)
downloadinkscape-4e55047ecca768151c26faa9a6b35b87067bed94.tar.gz
inkscape-4e55047ecca768151c26faa9a6b35b87067bed94.zip
Update to trunk
(bzr r12588.1.14)
Diffstat (limited to 'src/2geom')
-rw-r--r--src/2geom/elliptical-arc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/elliptical-arc.cpp b/src/2geom/elliptical-arc.cpp
index 29e983ad4..d2cb0b707 100644
--- a/src/2geom/elliptical-arc.cpp
+++ b/src/2geom/elliptical-arc.cpp
@@ -360,7 +360,7 @@ EllipticalArc::pointAndDerivatives(Coord t, unsigned int n) const
for ( unsigned int i = 0; i < m; ++i )
{
result.push_back( ea->pointAtAngle(angle) );
- angle += M_PI/2;
+ angle += (_sweep ? M_PI/2 : -M_PI/2);
if ( !(angle < 2*M_PI) ) angle -= 2*M_PI;
}
m = nn / 4;