[OpenLayers-Dev] Fwd: [whatwg] [canvas] Proposal isPointInStroke(x, y)

Zac Spitzer zac.spitzer at gmail.com
Tue Nov 13 21:03:44 PST 2012


anything we could request which help improve OL mapping with Canvas?

---------- Forwarded message ----------
From: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date: Wed, Nov 14, 2012 at 11:46 AM
Subject: [whatwg] [canvas] Proposal isPointInStroke(x, y)
To: whatwg <whatwg at lists.whatwg.org>
Cc: Tobias Schneider <schneider at 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)

-Jeff



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
+61 405 847 168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20121114/16f3c3c9/attachment.html>


More information about the Dev mailing list