|
◆ 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
-
pat | the pattern to edit |
cx0 | x coordinate for the center of the start circle, the inner circle. Must stand inside outer circle. |
cy0 | y coordinate for the center of the start circle, the inner circle. Must stand inside outer circle. |
radius0 | radius for the center of the start circle, the inner circle. Can't be greater than radius1 |
cx1 | x coordinate for the center of the end circle, the outer circle. |
cy1 | y coordinate for the center of the end circle, the outer circle. |
radius1 | radius 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.
|