VKVG
Vulkan Vector Graphics
View on GitHub
Pattern
vkvg_pattern_add_color_stop
vkvg_pattern_create_for_surface
vkvg_pattern_create_linear
vkvg_pattern_create_radial
vkvg_pattern_destroy
vkvg_pattern_edit_linear
vkvg_pattern_edit_radial
vkvg_pattern_get_color_stop_count
vkvg_pattern_get_color_stop_rgba
vkvg_pattern_get_extend
vkvg_pattern_get_filter
vkvg_pattern_get_linear_points
vkvg_pattern_get_matrix
vkvg_pattern_get_reference_count
vkvg_pattern_get_type
vkvg_pattern_reference
vkvg_pattern_set_extend
vkvg_pattern_set_filter
vkvg_pattern_set_matrix
VkvgPattern
◆
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
pat
a valid pattern pointer.
count
a 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.
Generated by
1.9.1