internet explorer 8 - Drawing arc in excanvas IE8 to 2Pi does not draw arc -


i'm drawing discs may or may not complete. i've found if i'm drawing value goes way 2pi, tends not drawn. seems somewhere simplifying 0.

for example (with arcs offset slightly):

ctx.arc(x, y, radius, startangle + math.pi/2, resangle+math.pi/2); 

when circle should complete, end of circle not drawn. have check condition, add 0.1 in order circle appear.

any ideas why?

what steps reproduce problem?

try draw circle clockwise, won't draw delta between start point , end point small.

a fix located @ following url:

which following:

change line 689 :

if (xstart == xend && !aclockwise) { 

to

if ((abs(xstart - xend) < 10e-8) && !aclockwise) { 

references


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -