Hi Alejandro:

How I would do this -- 1) determine the offsets of all 3 gradient
coordinates from the graphic's loc, and 2) rotate the gradient coordinates
in alignment with however much the graphic is rotated, keeping in mind
offsets from the center.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



Recently, Alejandro Tejada wrote:

> Hi Monte,
> 
> 
> Monte Goulding wrote
>> 
>> I don't see why you need to do this operation while scaling.
>> It would appear to be a different use case. If you do need
>> to rotate and scale at the same time then why not work out
>> your scaling factor, rotate the points then scale the rect.
>> Same as Mark's idea but no extra graphic created.
>> 
> 
> Look what happen when I rotate this graphic
> filled with a gradient:
> 
> http://andregarzia.on-rev.com/alejandro/img/Gradients05.jpg
> 
> 
> 
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Scaling-Gradients-tp4653156p465
> 3193.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to