38 static_assert(
sizeof(
ColorArgb) == 4,
"Incorrect size of ColorARGB");
47 inline std::ostream& operator<<(std::ostream& os,
const ColorArgb& color)
49 os <<
"{" << unsigned(color.
alpha) <<
"," << unsigned(color.
red) <<
"," << unsigned(color.
green) <<
"," << unsigned(color.
blue) <<
"}";
static ColorArgb RED
'Red' RgbColor (255, 255, 0, 0)
Definition: ColorArgb.h:25
static ColorArgb BLUE
'Blue' RgbColor (255, 0, 0, 255)
Definition: ColorArgb.h:29
static ColorArgb YELLOW
'Yellow' RgbColor (255, 255, 255, 0)
Definition: ColorArgb.h:31
uint8_t alpha
The alpha mask channel.
Definition: ColorArgb.h:13
static ColorArgb GREEN
'Green' RgbColor (255, 0, 255, 0)
Definition: ColorArgb.h:27
uint8_t green
The green color channel.
Definition: ColorArgb.h:18
Definition: ColorArgb.h:9
uint8_t red
The red color channel.
Definition: ColorArgb.h:16
static ColorArgb BLACK
'Black' RgbColor (255, 0, 0, 0)
Definition: ColorArgb.h:23
static ColorArgb WHITE
'White' RgbColor (255, 255, 255, 255)
Definition: ColorArgb.h:33
uint8_t blue
The blue color channel.
Definition: ColorArgb.h:20