vg_lite_linear_gradient_t structure
This structure defines the organization of a linear gradient in VGLite data. The linear gradient is applied to filling a path. It generates a 256x1 image according to the specified settings.
Used in init and draw functions: vg_lite_init_grad, vg_lite_set_grad, vg_lite_update_grad, vg_lite_get_grad_matrix, vg_lite_clear_grad, vg_lite_draw_grad.
vg_lite_linear_gradient_t constants  | 
Type  | 
Description  | 
|---|---|---|
  | 
  | 
Constant. Maximum number of gradient colors = 16.  | 
vg_lite_linear_gradient_t members  | 
||
  | 
  | 
Color array for the gradient  | 
  | 
  | 
Number of colors  | 
  | 
  | 
Number of color stops, from 0 to 255  | 
  | 
  | 
Struct for the matrix to transform the gradient color ramp  | 
  | 
  | 
Image object struct to represent the color ramp  | 
Parent topic:Draw and gradient structures