anything we could request which help improve OL mapping with Canvas?<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Jeff Muizelaar</b> <span dir="ltr"><<a href="mailto:jmuizelaar@mozilla.com">jmuizelaar@mozilla.com</a>></span><br>
Date: Wed, Nov 14, 2012 at 11:46 AM<br>Subject: [whatwg] [canvas] Proposal isPointInStroke(x, y)<br>To: whatwg <<a href="mailto:whatwg@lists.whatwg.org">whatwg@lists.whatwg.org</a>><br>Cc: Tobias Schneider <<a href="mailto:schneider@jancona.com">schneider@jancona.com</a>><br>
<br><br>We have recently implemented isPointInStroke(x,y) in Firefox (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=803124" target="_blank">https://bugzilla.mozilla.org/show_bug.cgi?id=803124</a>).<br>
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.<br>
It was easily implemented on top of Direct2D, Cairo, Skia, and CoreGraphics and shouldn't be difficult for other systems.<br>
<br>
We implemented this to help support functionality needed for shumway (flash on html)<br>
<span class="HOEnZb"><font color="#888888"><br>
-Jeff</font></span></div><br><br clear="all"><br>-- <br>Zac Spitzer<br>Solution Architect / Director<br>Ennoble Consultancy Australia<br>+61 405 847 168<br><br><br>