Transforms the user coordinate system in a context using a specified matrix.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
A graphics context.
The transformation matrix to apply to the specified context’s current transformation matrix.
When you call this function, it concatenates (that is, it combines) two matrices, by multiplying them together. The order in which matrices are concatenated is important, as the operations are not commutative. The resulting CTM in the context is:
CTMnew = transform * CTMcontext.