roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::Rgba8888 Class Reference

32-bit RGBA color mode. More...

#include <color_modes.h>

Public Member Functions

constexpr Color toArgbColor (uint32_t in) const
 
constexpr uint32_t fromArgbColor (Color color) const
 
constexpr TransparencyMode transparency () const
 

Static Public Attributes

static const int8_t bits_per_pixel = 32
 

Detailed Description

32-bit RGBA color mode.

Definition at line 51 of file color_modes.h.

Member Function Documentation

◆ fromArgbColor()

constexpr uint32_t roo_display::Rgba8888::fromArgbColor ( Color  color) const
inlineconstexpr

Definition at line 59 of file color_modes.h.

References color.

◆ toArgbColor()

constexpr Color roo_display::Rgba8888::toArgbColor ( uint32_t  in) const
inlineconstexpr

Definition at line 55 of file color_modes.h.

◆ transparency()

constexpr TransparencyMode roo_display::Rgba8888::transparency ( ) const
inlineconstexpr

Definition at line 63 of file color_modes.h.

References roo_display::kFull.

Field Documentation

◆ bits_per_pixel

const int8_t roo_display::Rgba8888::bits_per_pixel = 32
static

Definition at line 53 of file color_modes.h.


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