W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2009

[whatwg] proposed canvas 2d API additions

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Mon, 2 Mar 2009 10:52:05 +0100
Message-ID: <4C19C186441146CF8351BC7EEBB0FABF@POCZTOWIEC>
Philip's demonstration of how to handle detection of pointing at the curve
is miserably wrong.  His curve is not typographically correct (bounding
box!).  The detection should be in based on of precomputed regions rather
than flattening.  This all can be done in script library, of course, but the
library would have to rely on mathematical techniques that the graphic
designer need not understand.  And the region information could be cached
on-demand when it is first needed.  I think it would be better to build the
thing into the browser.
See my solution at <http://www.2a.pl/~ne01026/bzr.htm> (VML + VBScript
Received on Monday, 2 March 2009 01:52:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:49 GMT