CGSize
-
Calculates the aspect ratio of the size.
-
Finds a new size constrained by a size keeping the aspect ratio.
-
Finds a new size filling the given size while keeping the aspect ratio.