ThorVG  v0.1
ThorVG is a platform-independent portable library for drawing vector-based scene and animation. It's an open-source software that is freely used by a variety of software platforms and applications. ThorVG provides neat and easy APIs, its library has no dependencies and keeps cheap and super compact size. It serves as the vector graphics engine for Tizen OS that powers many products.

A data structure storing the information about the color and its relative position inside the gradient bounds. More...

Public Attributes

float offset
 
uint8_t r
 
uint8_t g
 
uint8_t b
 
uint8_t a
 

Detailed Description

A data structure storing the information about the color and its relative position inside the gradient bounds.

Member Data Documentation

◆ a

uint8_t a

The alpha channel value in the range [0 ~ 255], where 0 is completely transparent and 255 is opaque.

◆ b

uint8_t b

The blue color channel value in the range [0 ~ 255].

◆ g

uint8_t g

The green color channel value in the range [0 ~ 255].

◆ offset

float offset

The relative position of the color.

◆ r

uint8_t r

The red color channel value in the range [0 ~ 255].