Bug 23003

Summary: [Canvas] Cairo needs arcTo
Product: WebKit Reporter: Dirk Schulze <krit>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
URL: http://canvex.lazyilluminati.com/misc/arcto.html
Attachments:
Description Flags
arcTo for PathCairo
none
Implementation drawing
none
arcTo for PathCairo oliver: review+

Description Dirk Schulze 2008-12-27 08:06:46 PST
Cario needs arcTo support for canvas.
Comment 1 Dirk Schulze 2008-12-27 08:21:48 PST
Created attachment 26266 [details]
arcTo for PathCairo

This implementation is based on vector analysis. I'll add a graphic, to help understanding the patch.
Comment 2 Dirk Schulze 2008-12-27 08:24:39 PST
Created attachment 26267 [details]
Implementation drawing

I hope this SVG helps the reviewer to understand the patch.
Comment 3 Dirk Schulze 2008-12-29 06:55:38 PST
Created attachment 26292 [details]
arcTo for PathCairo

forgot a check if ea should be more or less than pi.
Comment 4 Oliver Hunt 2008-12-29 23:25:52 PST
Comment on attachment 26292 [details]
arcTo for PathCairo

r=me
Comment 5 Dirk Schulze 2008-12-29 23:37:41 PST
landed in r39511.