Returns an affine transformation matrix constructed by inverting an existing affine transform.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
An existing affine transform.
A new affine transformation matrix. If the affine transform passed in parameter
t cannot be inverted, the affine transform is returned unchanged.
Inversion is generally used to provide reverse transformation of points within transformed objects. Given the coordinates (x,y), which have been transformed by a given matrix to new coordinates (x’,y’), transforming the coordinates (x’,y’) by the inverse matrix produces the original coordinates (x,y).