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_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
pat
the pattern to set extend for.
extend
one value of the
vkvg_extend_t
enumeration.
Returns
VKVG_STATUS_SUCCESS, or VKVG_STATUS_PATTERN_TYPE_MISMATCH if the pattern is not a gradient.
Generated by
1.9.1