VKVG  
Vulkan Vector Graphics

◆ vkvg_pattern_edit_linear()

vkvg_status_t vkvg_pattern_edit_linear ( VkvgPattern  pat,
float  x0,
float  y0,
float  x1,
float  y1 
)

edit control points of an existing linear gradient.

Parameters
x0x coordinate of the start point
y0y coordinate of the start point
x1x coordinate of the end point
y1y coordinate of the end point
Returns
VKVG_STATUS_SUCCESS, or VKVG_STATUS_PATTERN_TYPE_MISMATCH if the pattern is not a linear gradient.