|
VKVG
Vulkan Vector Graphics
|
vkvg matrix structure More...
#include <vkvg.h>
Data Fields | |
| float | xx |
| float | yx |
| float | xy |
| float | yy |
| float | x0 |
| float | y0 |
A vkvg_matrix_t holds an affine transformation, such as a scale, rotation, shear, or a combination of those. The transformation of a point (x, y) is given by:
@xx: xx component of the affine transformation @yx: yx component of the affine transformation @xy: xy component of the affine transformation @yy: yy component of the affine transformation @x0: X translation component of the affine transformation @y0: Y translation component of the affine transformation