Scaling Gradients

Alejandro Tejada capellan2000 at gmail.com
Tue Jul 31 21:00:24 EDT 2012


Hi Mark,


Mark Wieder wrote
> 
> [snip]
> Hmmm. How about creating the list of points, creating a new invisible
> graphic, setting its points to the list, getting its rect, deleting
> it, and then setting the rect of your graphic to the new rect, then
> setting its points. That should scale the gradient first and then
> adjust to the new point layout. Just a thought.
> 
 
I suspect that your idea could work fine for scaling (locking the screen
to avoid the sudden changes of graphics position). Only testing could
tell if this could work for rotating, reflect and skew vector graphics
filled
with gradients.

Alejandro




--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scaling-Gradients-tp4653156p4653177.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list