Struct
GimpMatrix3
Description [src]
struct GimpMatrix3 {
None coeff;
}
A three by three matrix.
Structure members
coeff |
The coefficients. |
Instance methods
gimp_matrix3_affine
Applies the affine transformation given by six values to matrix
.
The six values form define an affine transformation matrix as
illustrated below:
gimp_matrix3_determinant
Calculates the determinant of the given matrix.
gimp_matrix3_identity
Sets the matrix to the identity matrix.
gimp_matrix3_invert
Inverts the given matrix.
gimp_matrix3_is_affine
Checks if the given matrix defines an affine transformation.
Available since: 2.4
gimp_matrix3_is_diagonal
Checks if the given matrix is diagonal.
gimp_matrix3_is_identity
Checks if the given matrix is the identity matrix.
gimp_matrix3_is_simple
Checks if we’ll need to interpolate when applying this matrix as a transformation.
gimp_matrix3_mult
Multiplies two matrices and puts the result into the second one.
gimp_matrix3_rotate
Rotates the matrix by theta degrees.
gimp_matrix3_scale
Scales the matrix by x and y.
gimp_matrix3_transform_point
Transforms a point in 2D as specified by the transformation matrix.
gimp_matrix3_translate
Translates the matrix by x and y.
gimp_matrix3_xshear
Shears the matrix in the X direction.
gimp_matrix3_yshear
Shears the matrix in the Y direction.