pntr
Image manipulation library
pntr_color Union Reference

Data Structures

struct  pntr_color_rgba_t
 

Data Fields

uint32_t value
 
struct pntr_color::pntr_color_rgba_t rgba
 

Detailed Description

Color, represented by an unsigned 32-bit integer.

Has four components: Red, Green, Blue, and Alpha. Depending on the pixel format, will shift the order in which the components are defines.

See also
pntr_new_color()
pntr_get_color()
PNTR_PIXELFORMAT_RGBA
PNTR_PIXELFORMAT_ARGB

Field Documentation

◆ value

uint32_t pntr_color::value

The color value, represented by an unsigned 32-bit integer.