[14 Feb 2010] (Feature Request) or How can I determine the dimension of scalled layers?
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 14 Feb 2010 15:01:42 +0100
GetAttribute() gives you always the width and height of the original size. How can i get the width and height of a scaled layer?
With only one layer, you can always estimate the size currently shown. But if you want to scale a group of layers with correct aspect ratio, you have to know the size of each different layer and its individual size within the layer group.
Therefore, it's important to know the size of each layer shown on the display, not the orginal size.
Is there a way to get that size? If not, this is just another feature request!
Thanks, Tom
GetAttribute() gives you always the width and height of the original size. How can i get the width and height of a scaled layer?
With only one layer, you can always estimate the size currently shown. But if you want to scale a group of layers with correct aspect ratio, you have to know the size of each different layer and its individual size within the layer group.
Therefore, it's important to know the size of each layer shown on the display, not the orginal size.
Is there a way to get that size? If not, this is just another feature request!
Thanks, Tom