applyingAffineTransform
Declaration
func applyingAffineTransform(containerSize: CGSize, viewSize: CGSize, transform: CGAffineTransform) -> CGPoint
Summary
Returns
The transformed point in the view coordinate space.
Parameters
| Name | Type | Summary |
|---|---|---|
| containerSize | CGSize | The size of the container coordinate space. |
| viewSize | CGSize | The size of the target view coordinate space. |
| transform | CGAffineTransform | The affine transform to apply to normalized coordinates. |
Transforms a single point from the container coordinate space to the view coordinate space by:
1. Normalizing the point relative to the container size,
2. Applying an affine transform (assumed to map normalized coordinates),
3. Scaling the result to the view size.