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

#include <color_modes.h>

Public Member Functions

constexpr Alpha8 (Color color)
 
constexpr Color toArgbColor (uint8_t in) const
 
constexpr uint8_t fromArgbColor (Color color) const
 
constexpr Color color () const
 
constexpr TransparencyMode transparency () const
 

Static Public Attributes

static const int8_t bits_per_pixel = 8
 

Detailed Description

Definition at line 407 of file color_modes.h.

Constructor & Destructor Documentation

◆ Alpha8()

constexpr roo_display::Alpha8::Alpha8 ( Color  color)
inlineconstexpr

Definition at line 409 of file color_modes.h.

Member Function Documentation

◆ color()

constexpr Color roo_display::Alpha8::color ( ) const
inlineconstexpr

Definition at line 421 of file color_modes.h.

Referenced by fromArgbColor().

◆ fromArgbColor()

constexpr uint8_t roo_display::Alpha8::fromArgbColor ( Color  color) const
inlineconstexpr

Definition at line 417 of file color_modes.h.

References color().

◆ toArgbColor()

constexpr Color roo_display::Alpha8::toArgbColor ( uint8_t  in) const
inlineconstexpr

◆ transparency()

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

Definition at line 423 of file color_modes.h.

References roo_display::kFull.

Field Documentation

◆ bits_per_pixel

const int8_t roo_display::Alpha8::bits_per_pixel = 8
static

Definition at line 411 of file color_modes.h.


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