This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21077 - <canvas>: Add winding rules to canvas 2d specification
Summary: <canvas>: Add winding rules to canvas 2d specification
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 blocker
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-21 18:17 UTC by rcabanie
Modified: 2013-05-04 00:09 UTC (History)
3 users (show)

See Also:


Attachments

Description rcabanie 2013-02-21 18:17:51 UTC
patches have landed in Mozilla and WebKit that add support for winding rules and isPointInStroke.

The syntax for winding rules can be found here: 
http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Jan/0102.html

Syntax for isPointInStroke ia here:
http://lists.w3.org/Archives/Public/public-whatwg-archive/2012Nov/0148.html


Can these API's be added to the whatwg spec so they can also be pulled into the w3c canvas spec?
Comment 1 Ian 'Hixie' Hickson 2013-03-26 18:15:22 UTC
Yeah, I have a bunch of feedback on this in the WHATWG list too. Definitely going to do it, just haven't gotten around to it yet, sorry.
Comment 2 Ian 'Hixie' Hickson 2013-05-04 00:09:46 UTC
Winding rules are done.

isPointInStroke seems redundant with features to "explode" paths and followed by testing if you're in the path, but ok.