node-openvg-canvas
node-openvg-canvas copied to clipboard
Anticlockwise arcs from 0 to 2π are not rendered.
Browsers implement this by drawing a full circle.
Can't find info on the Canvas spec on this kind of values. Note that going from 0 to 2π in a anticlockwise direction is strange because:
- startAngle should be greater than endAngle
- adding 2π to startAngle would result in a 2π to 2π arc => Zero extent
- subtracting 2π from endAngle would result in a 0 to 0 arc => Zero extent
This is clearly a special case. So, are -4π, -2π, 4π also special cases ?
Add a reference / example with angles going toward 2π and further.