Bug 23460 - [CG] Canas arcTo looks different on win and mac
: [CG] Canas arcTo looks different on win and mac
Status: NEW
: WebKit
Layout and Rendering
: 528+ (Nightly build)
: PC Mac OS X 10.5
: P2 Normal
Assigned To:
: http://philip.html5.org/demos/canvas/...
:
:
:
  Show dependency treegraph
 
Reported: 2009-01-21 12:41 PST by
Modified: 2009-01-21 15:08 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2009-01-21 12:41:49 PST
If you have an angle of 0 and a radius > 0, the mac and win port handle arcTo different.

The mac port just adds (x1,y1) to the current path and draws a line of (x0,y0) to (x1,y1). http://philip.html5.org/demos/canvas/arcto-inf.png

The win port draws to parallel lines to the infity. One throug (x1,y1)->(x0,y0) and the second parallel to this line with the distance of the radius.