is within ... polygon shape?

Lynch, Jonathan bnz2 at cdc.gov
Fri Jun 24 12:44:03 EDT 2005


This command:

Put the points of image "myImage1" into field "feedback"

Causes an error - it says this object does not have this property. I am
misunderstanding something aren't I?

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Scott
Rossi
Sent: Friday, June 24, 2005 12:38 PM
To: How to use Revolution
Subject: Re: is within ... polygon shape?

Recently, Lynch, Jonathan  wrote:

>> Using the within() function it is possible to accurately detect
>> whether a point falls within the image since Rev will evaluate a
>> point falling within the transparent region of the image as false.

> But - would this work 100% for curved polygons or images?

It works reliably with images as long as the transparent regions of the
image are 100% transparent.  Try it.

Routines for polygons should work reliably as well.

(Although Jim's routine seems to work only for intersecting edges, and
not
when a smaller polygon falls *completely* within a larger polygon -- any
tweak available Jim?)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list