Skip to content

Commit

Permalink
call lineTo instead moveTo in ctx.arc
Browse files Browse the repository at this point in the history
  • Loading branch information
zenozeng committed Jun 8, 2015
1 parent a186bb9 commit b722333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canvas2svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@
largeArcFlag = diff > Math.PI ? 1 : 0;
}

this.moveTo(startX, startY);
this.lineTo(startX, startY);
this.__addPathCommand(format("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",
{rx:radius, ry:radius, xAxisRotation:0, largeArcFlag:largeArcFlag, sweepFlag:sweepFlag, endX:endX, endY:endY}));

Expand Down

0 comments on commit b722333

Please sign in to comment.