VKVG  
Vulkan Vector Graphics

◆ vkvg_pattern_set_extend()

void vkvg_pattern_set_extend ( VkvgPattern  pat,
vkvg_extend_t  extend 
)

control whether the pattern has to be repeated or extended when painted on a surface.

Parameters
patthe pattern to set extend for.
extendone value of the vkvg_extend_t enumeration.
Returns
VKVG_STATUS_SUCCESS, or VKVG_STATUS_PATTERN_TYPE_MISMATCH if the pattern is not a gradient.