Gimp.Matrix4 – gimp-3.0 Reference Manual
Packages
gimp-3.0
Gimp
Matrix4
identity
mult
to_deg
transform_point
coeff
Matrix4
Object Hierarchy:
Description:
[
CCode
( has_type_id =
false
) ]
public
struct
Matrix4
A four by four matrix.
Namespace:
Gimp
Package:
gimp-3.0
Content:
Methods:
public
void
identity
()
Sets the matrix to the identity matrix.
public
void
mult
(
Matrix4
right)
Multiplies two matrices and puts the result into the second one.
public
void
to_deg
(
out
double
a,
out
double
b,
out
double
c)
public
double
transform_point
(
double
x,
double
y,
double
z,
out
double
newx,
out
double
newy,
out
double
newz)
Transforms a point in 3D as specified by the transformation matrix.
Fields:
public
unowned
double
[]
coeff