Method
GskTransformto_affine
Declaration [src]
void
gsk_transform_to_affine (
GskTransform* self,
float* out_scale_x,
float* out_scale_y,
float* out_dx,
float* out_dy
)
Description [src]
Converts a GskTransform
to 2D affine transformation factors.
self
must be a 2D transformation. If you are not
sure, use
`gsk_transform_get_category()` >= `GSK_TRANSFORM_CATEGORY_2D_AFFINE`
to check.
Parameters
out_scale_x |
float* |
Return location for the scale factor in the x direction. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
out_scale_y |
float* |
Return location for the scale factor in the y direction. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
out_dx |
float* |
Return location for the translation in the x direction. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
out_dy |
float* |
Return location for the translation in the y direction. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. |