VKVG  
Vulkan Vector Graphics

◆ vkvg_matrix_init()

void vkvg_matrix_init ( vkvg_matrix_t matrix,
float  xx,
float  yx,
float  xy,
float  yy,
float  x0,
float  y0 
)

Initialize members of the supplied matrix to the values passed as arguments. Resulting matrix will hold an affine transformation defined by the parameters.

Parameters
matrixa valid vkvg_matrix_t pointer
xxxx component of the affine transformation
yxyx component of the affine transformation
xyxy component of the affine transformation
yyyy component of the affine transformation
x0X translation component of the affine transformation
y0Y translation component of the affine transformation