true if the matrix is compatible with an affine
transformation matrix
bool to2d(out double xx, out double yx, out double xy, out double yy, out double x0, out double y0) nothrowConverts a #graphene_matrix_t to an affine transformation matrix, if the given matrix is compatible.
The returned values have the following layout:
⎛ xx yx ⎞ ⎛ a b 0 ⎞
⎜ xy yy ⎟ = ⎜ c d 0 ⎟
⎝ x0 y0 ⎠ ⎝ tx ty 1 ⎠This function can be used to convert between a #graphene_matrix_t and an affine matrix type from other libraries.
xx | return location for the xx member |
yx | return location for the yx member |
xy | return location for the xy member |
yy | return location for the yy member |
x0 | return location for the x0 member |
y0 | return location for the y0 member |
true if the matrix is compatible with an affine
transformation matrix