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;


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to