VKVG  
Vulkan Vector Graphics

◆ vkvg_get_dash()

void vkvg_get_dash ( VkvgContext  ctx,
const float *  dashes,
uint32_t *  num_dashes,
float *  offset 
)

Get the current dash configuration for the supplied Context. If dashes pointer is NULL, only count and offset are returned, useful to query dash array dimension first.

Parameters
ctxa valid vkvg Context
dashes[out]return value for the dash array. If count is 0, this pointer stay untouched. If NULL, only count and offset are returned.
num_dashes[out]return length of dash array or 0 if dash is not set.
offset[out]return value for the current dash offset