Blend2D
2D Vector Graphics Engine
2D matrix represents an affine transformation matrix that can be used to transform geometry and images.
Creates an uninitialized 2D matrix, you must initialize all members before use.
Creates a new matrix initialized to a copy of src
matrix.
Creates a new matrix initialized to:
Creates a new matrix initialized to identity.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Creates a new matrix initialized to translation.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Creates a new matrix initialized to scaling.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Creates a new matrix initialized to rotation.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Create a new skewing matrix.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Resets matrix to identity.
Resets matrix to other
(copy its content to this matrix).
Resets matrix to [m00Value
, m01Value
, m10Value
, m11Value
, m20Value
, m21Value
].
Resets matrix to translation.
Resets matrix to translation.
Resets matrix to scaling.
Resets matrix to scaling.
Resets matrix to skewing.
Resets matrix to rotation specified by sin
and cos
and optional translation tx
and ty
.
Resets matrix to rotation specified by sin
and cos
and optional translation t
.
Resets matrix to rotation.
Resets matrix to rotation around a point [x, y]
.
Resets matrix to rotation around a point p
.
Returns the matrix type, see BLTransformType.
Calculates the matrix determinant.
Inverts the matrix, returns BL_SUCCESS if the matrix has been inverted successfully.
Inverts src
matrix and stores the result in `dst.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Matrix values stored in array.