Replaces the receiver’s matrix with its inverse matrix.
- macOS 10.0+
- Mac Catalyst 13.0+Beta
Inverse matrices are useful for undoing the effects of a matrix. If a previous point (x,y) was transformed to (x’,y’), inverting the matrix and applying it to point (x’,y’) yields the point (x,y).
You can also use inverse matrices in conjunction with the
concat method to remove the effects of concatenating the matrix to the current transformation matrix of the current graphic context.