[whatwg] proposed canvas 2d API additions

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
required).
Chris

Received on Monday, 2 March 2009 01:52:05 UTC