Gimp.Matrix4¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
coeff |
[ |
r/w |
the coefficients |
Methods¶
|
|
|
|
|
|
|
Details¶
- class Gimp.Matrix4¶
A four by four matrix.
- identity()¶
Sets the matrix to the identity matrix.
New in version 2.10.16.
- mult(right)¶
- Parameters:
right (
Gimp.Matrix4
) – The second input matrix which will be overwritten by the result.
Multiplies two matrices and puts the result into the second one.
New in version 2.10.16.
- transform_point(x, y, z)¶
- Parameters:
- Returns:
The transformed W coordinate.
- newx:
The transformed X coordinate.
- newy:
The transformed Y coordinate.
- newz:
The transformed Z coordinate.
- Return type:
Transforms a point in 3D as specified by the transformation matrix.
New in version 2.10.16.