Skip to content

Commit

Permalink
Arc is clockwise when flag is false
Browse files Browse the repository at this point in the history
  • Loading branch information
aubergene authored and Fil committed Jun 6, 2019
1 parent 584f1fb commit 9dfe256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/path-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ tape("path.arc(x, y, radius, -13π/2, 0, true) draws a big anticlockwise arc", f
test.end();
});

tape("path.arc(x, y, radius, -13π/2, 0, false) draws a big anticlockwise arc", function(test) {
tape("path.arc(x, y, radius, -13π/2, 0, false) draws a big clockwise arc", function(test) {
var p = path.path(); p.moveTo(150, 100); p.arc(100, 100, 50, 0, -13 * Math.PI / 2, false);
test.pathEqual(p, "M150,100A50,50,0,1,1,100,50");
test.end();
Expand Down

0 comments on commit 9dfe256

Please sign in to comment.