applyingAffineTransform
Declaration
func applyingAffineTransform(containerSize: CGSize, viewSize: CGSize, transform: CGAffineTransform) -> CGRect
Summary
Returns
A new rectangle transformed into the view coordinate space.
Parameters
| Name | Type | Summary |
|---|---|---|
| containerSize | CGSize | The size of the original container coordinate space. |
| viewSize | CGSize | The size of the target view coordinate space. |
| transform | CGAffineTransform | The affine transform to apply (expected to operate on normalized coordinates). |
Transforms a rectangle from the container coordinate space to view by applying
a given affine transform to its corner points.