W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2012

[whatwg] [canvas] Proposal isPointInStroke(x, y)

From: Jeff Muizelaar <jmuizelaar@mozilla.com>
Date: Tue, 13 Nov 2012 16:46:38 -0800
Message-Id: <254F3EC3-38AE-4451-921E-02C081968083@mozilla.com>
To: whatwg <whatwg@lists.whatwg.org>
Cc: Tobias Schneider <schneider@jancona.com>
We have recently implemented isPointInStroke(x,y) in Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=803124).
This is a parallel to isPointInPath(x,y) and returns true if the point is inside the area contained by the stroking of a path.
It was easily implemented on top of Direct2D, Cairo, Skia, and CoreGraphics and shouldn't be difficult for other systems.

We implemented this to help support functionality needed for shumway (flash on html)

Received on Wednesday, 14 November 2012 01:54:09 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:17 UTC