diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-10-14 22:06:48 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2013-10-14 22:06:48 +0000 |
| commit | fa9188693f47d184c188613c1191c7ff97bdd9bb (patch) | |
| tree | 81c73700af02767e211f1c0c7c36c8012c1403d1 /src/2geom | |
| parent | Update to trunk (diff) | |
| parent | Fix tangent calculation for counter-clockwise arcs. (diff) | |
| download | inkscape-fa9188693f47d184c188613c1191c7ff97bdd9bb.tar.gz inkscape-fa9188693f47d184c188613c1191c7ff97bdd9bb.zip | |
Update to trunk
(bzr r11950.1.182)
Diffstat (limited to 'src/2geom')
| -rw-r--r-- | src/2geom/elliptical-arc.cpp | 2 |
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; |
