Open jonathanolson opened 10 years ago
NOTE: patchy ellipse support may mean we need to check those ourselves? Or check existence of context.ellipse before using this.
We'll also want to thoroughly unit test coverage across browsers with this, since this could cause platform-specific bugs easily.
See CanvasRenderingContext2D's isPointInPath / isPointInStroke (and potentially store Path objects for this usage, if those are supported).