Returns the point resulting from an affine transformation of an existing point.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Graphics
Declaration
CGPoint CGPointApplyAffineTransform(CGPoint point, CGAffine Transform t);
Parameters
point
A point that specifies the x- and y-coordinates to transform.
t
The affine transform to apply.
Return Value
A new point resulting from applying the specified affine transform to the existing point.