Method
GskTransformmatrix_2d
since: 4.20
Declaration [src]
GskTransform*
gsk_transform_matrix_2d (
GskTransform* next,
float xx,
float yx,
float xy,
float yy,
float dx,
float dy
)
Description [src]
Multiplies next with the matrix [ xx yx x0; xy yy y0; 0 0 1 ].
The result of calling gsk_transform_to_2d() on the returned
GskTransform should match the input passed to this function.
This function consumes next. Use gsk_transform_ref() first
if you want to keep it around.
Available since: 4.20
Parameters
next-
Type:
GskTransformThe next transform.
The argument can be NULL.The instance takes ownership of the data, and is responsible for freeing it. xx-
Type:
floatThe xx member.
yx-
Type:
floatThe yx member.
xy-
Type:
floatThe xy member.
yy-
Type:
floatThe yy member.
dx-
Type:
floatThe x0 member.
dy-
Type:
floatThe y0 member.
Return value
Type: GskTransform
The new transform.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
The return value can be NULL. |