VKVG  
Vulkan Vector Graphics

◆ vkvg_pattern_edit_radial()

vkvg_status_t vkvg_pattern_edit_radial ( VkvgPattern  pat,
float  cx0,
float  cy0,
float  radius0,
float  cx1,
float  cy1,
float  radius1 
)

Edit control points of an existing radial gradient

Parameters
patthe pattern to edit
cx0x coordinate for the center of the start circle, the inner circle. Must stand inside outer circle.
cy0y coordinate for the center of the start circle, the inner circle. Must stand inside outer circle.
radius0radius for the center of the start circle, the inner circle. Can't be greater than radius1
cx1x coordinate for the center of the end circle, the outer circle.
cy1y coordinate for the center of the end circle, the outer circle.
radius1radius for the center of the end circle, the outer circle.
Returns
VKVG_STATUS_SUCCESS, or VKVG_STATUS_PATTERN_TYPE_MISMATCH if the pattern is not a radial gradient.