dealing with graphics whose size changes

Scott Rossi scott at tactilemedia.com
Sat Jan 31 10:31:41 EST 2015


Are the graphics polygons?

If yes, you can store the original points of the polygons as custom properties in the graphics, and revert to those before doing any size changes.  You may need to account for an offset depending on where the graphic is displayed on the card, but usually locking the screen is enough to hide unwanted visible changes when you reset the points.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 

On Jan 31, 2015, at 7:03 AM, Dr. Hawkins <dochawk at gmail.com> wrote:

> I have graphics whose animation will take them to arbitrary sizes from 10
> to 200 pixels, with an initial displayed size of 100.
> 
> If reset their size & width, they eventually get jagged.
> 
> Is there a "best" method for keeping them to date in shape? The extreme
> versions would seem to be to have one for every possible point size and
> make it visible, or to copy it, set size, and unlock screen with every
> change.  Both of these sosund like a lot of work for the engine, though  .
> . .
> 
> 
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list