Converts a transform to 2D transformation factors.
To recreate an equivalent transform from the factors returned by this function, use
gsk_transform_skew ( gsk_transform_scale ( gsk_transform_rotate ( gsk_transform_translate (NULL, &GRAPHENE_POINT_INIT (dx, dy)), angle), scale_x, scale_y), skew_x, skew_y)
this must be a 2D transformation. If you are not sure, use
get_category >= GSK_TRANSFORM_CATEGORY_2D
to check.
| this |
a transform |
| out_skew_x |
return location for the skew factor in the x direction |
| out_skew_y |
return location for the skew factor in the y direction |
| out_scale_x |
return location for the scale factor in the x direction |
| out_scale_y |
return location for the scale factor in the y direction |
| out_angle |
return location for the rotation angle |
| out_dx |
return location for the translation in the x direction |
| out_dy |
return location for the translation in the y direction |