Returns the determinant for the matrix.
Set the provided matrix
to the identity matrix.
Inverts matrix
.
Check if a matrix only does an affine transformation.
Returns TRUE if the matrix only does an affine transformation.
Check if a matrix is the identity matrix.
Returns TRUE if the matrix is the identity matrix.
Check if a matrix only does scaling.
Returns TRUE if the matrix only does scaling.
Check if a matrix only does translation.
Returns TRUE if the matrix only does trasnlation.
Shift the origin of the transformation specified by matrix
to (x,
y)
. In other words, calculate the matrix that:
Translates the input by (-x,
-y)
.
Transforms the result using the original matrix
.
Translates the result by (x,
y)
.
x coordinate of new origin
y coordinate of new origin.
Parse a transofmation matrix from a string.
a string describing the matrix (right now a small subset of the transform strings allowed by SVG)
Rounds numerical errors in matrix
to the nearest integer.
Serialize a #GeglMatrix3 to a string.
Returns a freshly allocated string representing that #GeglMatrix3, the returned string should be g_free()'d.
transforms the coordinates provided in x
and y
and changes to the
coordinates gotten when the transformed with the matrix.
pointer to an x coordinate
pointer to an y coordinate
Returns a copy of
src
.