[whatwg] Canvas - Exception on arc with negative radius
mart at degeneration.co.uk
Fri Mar 27 13:44:12 PDT 2009
Dirk Schulze wrote:
> Another example is: http://blahbleh.com/molecools.php?name=1,2%
> If you turn the molecule a bit, the circles disappear with a
> INDEX_SIZE_ERR exception.
> Isn't it better to just ignore the arc and go on with the drawing, like
> Firefox does? And perhaps the same for arcTo?
Assuming that we desire a "do what I mean" approach, it seems sane to me
for a negative radius to be normalized to a positive radius with the
It goes from being the distance from the center to the edge to being the
distance from the center to the "opposite" edge.
You might also like to visualize this as drawing the "back" of the circle.
More information about the whatwg