VKVG  
Vulkan Vector Graphics

◆ vkvg_pattern_get_color_stop_count()

vkvg_status_t vkvg_pattern_get_color_stop_count ( VkvgPattern  pat,
uint32_t *  count 
)

Retrieve the color stop count of a gradient pattern.

Parameters
pata valid pattern pointer.
counta valid integer pointer to old the current stop count returned.
Returns
VKVG_STATUS_SUCCESS, or VKVG_STATUS_PATTERN_TYPE_MISMATCH if the pattern is not a gradient.