Initializes a #graphene_matrix_t from the values of an affine transformation matrix.
The arguments map to the following matrix layout:
|[<!-- language="plain" --> ⎛ xx yx ⎞ ⎛ a b 0 ⎞ ⎜ xy yy ⎟ = ⎜ c d 0 ⎟ ⎝ x0 y0 ⎠ ⎝ tx ty 1 ⎠ ]|
This function can be used to convert between an affine matrix type from other libraries and a #graphene_matrix_t.
the xx member
the yx member
the xy member
the yy member
the x0 member
the y0 member
the initialized matrix
1.0
See Implementation
Initializes a #graphene_matrix_t from the values of an affine transformation matrix.
The arguments map to the following matrix layout:
|[<!-- language="plain" --> ⎛ xx yx ⎞ ⎛ a b 0 ⎞ ⎜ xy yy ⎟ = ⎜ c d 0 ⎟ ⎝ x0 y0 ⎠ ⎝ tx ty 1 ⎠ ]|
This function can be used to convert between an affine matrix type from other libraries and a #graphene_matrix_t.