[Use-revolution] Re: Re post - Masking graphics

Scott Rossi scott at tactilemedia.com
Mon Nov 26 14:15:01 EST 2001


Recently, Ian Bridges wrote:

> is there a way to clip a picture to a region eg a polygon,
> without assembling an array of masking graphics?

> I would like to be able to change the shape of the mask/clip region and the
> region of the underlying picture that is displayed with script control

The only way I'm aware of will allow rectangular clips only: display your
source image in a group or a button, and then change the group's or button's
rect.  I believe there's no built-in way to create oval or irregular masks.

However, a more involved (read: painful) way to do this type of masking
would be to show your image in a separate window and mask the window.  On
MacOS you'll need the Odo WDEF and on Windows you'll need Tuviah Snyder's
external collection.  Like I said, major effort involved, but possible.

Regards,

Scott

_____________________________________________________________________
Scott Rossi                       Tactile Media - Multimedia & Design
Creative Director                 Email: scott at tactilemedia.com
                                  Web: www.tactilemedia.com




More information about the use-livecode mailing list