VKVG  
Vulkan Vector Graphics

◆ vkvg_matrix_init_translate()

void vkvg_matrix_init_translate ( vkvg_matrix_t matrix,
float  tx,
float  ty 
)

Initialize members of the supplied matrix to create a translation matrix.

Parameters
matrixa valid vkvg_matrix_t pointer
txtranslation in the X direction
tytranslation in the Y direction