does setting the angle of an image make its size unchangeable?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Oct 4 06:02:18 EDT 2007


Hi Josh,

Le 4 oct. 07 à 11:20, Josh Mellicker a écrit :

> Can anyone tell me if this is a bug that should be bugzilla'd?

I don't think so:
 From the docs:
Unlike the rotate command, the angle property affects only the screen  
display of the image, not the actual picture data in it.
In addition, as your image is only referenced, this explains that.

But try this:

create a stack
add an image
set the filename of the image
verify that it resizes as expected (change width, height or rect,  
with property inspector or script)
set the imageData of image 1 to the imageData of image 1

now:
rotate image 1 by 270
try to resize the image

what happens?
;-)

See Angle property and Rotate command in the docs.

> create a stack
> add an image
> set the filename of the image
> verify that it resizes as expected (change width, height or rect,  
> with property inspector or script)
>
> now:
> set the angle of the image to 270
> try to resize the image
>
> what happens?
>
>
> On Oct 3, 2007, at 10:48 AM, Josh Mellicker wrote:
>
>> Setting the width, height or rect of an image works fine, unless  
>> the angle is set to something besides 0... in which case the size  
>> reverts to the formatted size, and is unchangeable in either the  
>> property inspector or by script...
>>
>> Is this normal? Can anyone confirm?
>>
>> (2.8.1, Intel OS X)
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the Use-livecode mailing list