Merge pull request #24 from zenozeng/master
call lineTo instead moveTo in ctx.arc, fixes closePath issue and straight line issue
This commit is contained in:
commit
b55d2b10b5
@ -836,7 +836,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}));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user