2D affine transform matrix used by shaders and canvas transforms.
Summary
Functions
Identity matrix.
Creates a matrix from Skia's 2D affine tuple {sx, kx, tx, ky, sy, ty}.
Rotation matrix around the origin, in degrees.
Scale matrix.
Skew matrix.
Translation matrix.
Types
Functions
@spec identity() :: t()
Identity matrix.
Creates a matrix from Skia's 2D affine tuple {sx, kx, tx, ky, sy, ty}.
Rotation matrix around the origin, in degrees.
Scale matrix.
Skew matrix.
Translation matrix.