Bug 23460 - [CG] Canas arcTo looks different on win and mac
Summary: [CG] Canas arcTo looks different on win and mac
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://philip.html5.org/demos/canvas/...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 12:41 PST by Dirk Schulze
Modified: 2009-01-21 15:08 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schulze 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.