-
Scale rotated layer to fit comp size
Is there an easy way of calculating the scaling of a layer in order to fit the composition size, even if that layer is rotated? So something similar to the photoshop crop tool, where as you rotate the layer, it scales to fit the canvas.
Lets say I have a 1920×1080 comp and a layer the same size, with the anchor point in the middle. When I rotate the layer 10 degrees, I can see the layer cannot fit the comp anymore.
Is there an expression I can add the the scale property of the layer so that it fits automatically the composition?