Rotate and scale images
revdev at pdslabs.net
Thu Mar 6 13:37:09 EST 2008
I haven't tried this, but... does the image misbehave when rotating even
when the lockLoc of the image is set to true? Seems like that would stop
it from reverting to its 'formatted' size.
Just a thought -
Henk van der Velden wrote:
> Good day all,
> I'm having a hard time rotating and scaling images.
> When scaling an image and then rotating it (set the angle), the scale
> is 'lost'. Whenever the angle is changed, the image size is reset to
> the formattedheight / width.
> How can I handle this?
> Do I have to recalculate the minimal circumscribing rectangle every time?
> And what in case the image is rotated already and then I want to scale
> it? When using the normal horizontal / vertical scaling, the image
> gets skewed. Do I need to script the whole mathematics of this?
> Kind regards,
> Henk v.d. Velden
> iGlow Media
> Magda Janssenslaan 36
> 3584 GR UTRECHT
> 0031 (0)6 16 024 337
Professional Software Development
More information about the Use-livecode