VKVG  
Vulkan Vector Graphics

◆ vkvg_matrix_translate()

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

Apply the translation defined by tx and ty on the supplied matrix. The effect of the new transformation is to first translate the coordinates by tx and ty, then apply the original transformation to the coordinates.

Parameters
matrixa valid vkvg_matrix_t pointer
txtranslation in the x direction
tytranslation in the y direction