Re: [Gnash-dev] Re: point test

From:

Sandro Santilli

Subject:

Re: [Gnash-dev] Re: point test

Date:

Tue, 6 Nov 2007 00:25:54 +0100

On Tue, Nov 06, 2007 at 12:13:04AM +0100, Udo Giacomozzi wrote:
> The hit test in the core does not suffer from the problem because it
> uses the mathematical approach which is extremely accurate of course
> and does not depend on any size or matrix.
Yes it does, precision limited to floats :)
In GEOS we considered using higher precision types to face
robustness problems (but computing boundaries of properties
at world scale is far from needs of a flash player..)
> Anyway, this only matters when we really want to go the
> hittest-by-renderer way which I still am not happy with...
I'm not happy with hittest-by-renderer either, let's keep
going the right way.
About your "convert strokes to shape" thing: it is called "Buffering".
Hairlines would be a problem, as they should not scale as other
shapes. Also, I didn't follow news in SWF8/9, so dunno if there's
anything like dotted-lines or similar, which would probably not
scale either.
--strk;