PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Data Fields
vg_lite_radial_gradient_t Struct Reference

## Data Fields
vg_lite_uint32_t | count
vg_lite_matrix_t | matrix
vg_lite_buffer_t | image
vg_lite_radial_gradient_parameter_t | radial_grad
vg_lite_uint32_t | ramp_length
vg_lite_color_ramp_t | color_ramp [VLC_MAX_COLOR_RAMP_STOPS]
vg_lite_uint32_t | converted_length
vg_lite_color_ramp_t | converted_ramp [VLC_MAX_COLOR_RAMP_STOPS+2]
vg_lite_uint8_t | pre_multiplied
vg_lite_gradient_spreadmode_t | spread_mode

## Field Documentation

## ◆ count

vg_lite_uint32_t vg_lite_radial_gradient_t::count

## ◆ matrix

vg_lite_matrix_t vg_lite_radial_gradient_t::matrix

Count of colors, up to 256.

## ◆ image

vg_lite_buffer_t vg_lite_radial_gradient_t::image

The matrix to transform the gradient.

## ◆ radial_grad

vg_lite_radial_gradient_parameter_t vg_lite_radial_gradient_t::radial_grad

The image for rendering as gradient pattern.

## ◆ ramp_length

vg_lite_uint32_t vg_lite_radial_gradient_t::ramp_length

Include center point,focal point and radius.

## ◆ color_ramp

vg_lite_color_ramp_t vg_lite_radial_gradient_t::color_ramp[VLC_MAX_COLOR_RAMP_STOPS]

Color ramp for gradient paints provided to the driver.

## ◆ converted_length

vg_lite_uint32_t vg_lite_radial_gradient_t::converted_length

## ◆ converted_ramp

vg_lite_color_ramp_t vg_lite_radial_gradient_t::converted_ramp[VLC_MAX_COLOR_RAMP_STOPS+2]

Converted internal color ramp.

## ◆ pre_multiplied

vg_lite_uint8_t vg_lite_radial_gradient_t::pre_multiplied

## ◆ spread_mode

vg_lite_gradient_spreadmode_t vg_lite_radial_gradient_t::spread_mode

If color values of color_ramp[] are multiply by alpha value of color_ramp[].