NetSurf
Data Fields
bitmap_colour_layout Struct Reference

Pixel format: colour component order. More...

#include <bitmap.h>

Data Fields

uint8_t r
 Byte offset within pixel to red component. More...
 
uint8_t g
 Byte offset within pixel to green component. More...
 
uint8_t b
 Byte offset within pixel to blue component. More...
 
uint8_t a
 Byte offset within pixel to alpha component. More...
 

Detailed Description

Pixel format: colour component order.

Definition at line 32 of file bitmap.h.

Field Documentation

◆ a

uint8_t bitmap_colour_layout::a

Byte offset within pixel to alpha component.

Definition at line 36 of file bitmap.h.

Referenced by bitmap__format_convert_from_pma(), and bitmap__format_convert_to_pma().

◆ b

uint8_t bitmap_colour_layout::b

Byte offset within pixel to blue component.

Definition at line 35 of file bitmap.h.

Referenced by bitmap__format_convert_from_pma(), and bitmap__format_convert_to_pma().

◆ g

uint8_t bitmap_colour_layout::g

Byte offset within pixel to green component.

Definition at line 34 of file bitmap.h.

Referenced by bitmap__format_convert_from_pma(), and bitmap__format_convert_to_pma().

◆ r

uint8_t bitmap_colour_layout::r

Byte offset within pixel to red component.

Definition at line 33 of file bitmap.h.

Referenced by bitmap__format_convert_from_pma(), and bitmap__format_convert_to_pma().


The documentation for this struct was generated from the following file: