gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog server/parser/shape_character_d...


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog server/parser/shape_character_d...
Date: Thu, 8 Nov 2007 18:23:31 +0100

On Thu, Nov 08, 2007 at 05:16:13PM +0000, Udo Giacomozzi wrote:

> -     check( !inv3.hitTest((24*4), 100 + (10*4), true)  );  // Outside the 
> right autofill (but in the boundaries)
> +     check( !inv3.hitTest(92, 150, true)  );  // Outside the right autofill 
> (but in the boundaries)
>       check(  inv3.hitTest((24*4), 100 + (10*4), false) );  // Outside the 
> right autofill (but in the boundaries)

The two lines above are intended to use the *same* coordinates, with only
third argument changing (true/false for use bounding box only, use full shape).
If you change one please change the other too, to make sure that the point
you're querying *is* inside the bounding box but *not* inside the shape.

Also, keep the multiplication/addition if possible,
your coordinates could be 23,12, becoming 92,148.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]