VKVG  
Vulkan Vector Graphics

◆ vkvg_matrix_scale()

void vkvg_matrix_scale ( vkvg_matrix_t matrix,
float  sx,
float  sy 
)

Apply scaling by sx and sy on the supplied transformation matrix. The effect of the new transformation is to first scale the coordinates by sx and sy, then apply the original transformation to the coordinates.

Parameters
matrixa valid vkvg_matrix_t pointer on which the scaling will be applied.
sxscale in the x direction
syscale in the y direction