Orcus
Public Member Functions | Public Attributes | List of all members
orcus::spreadsheet::color_t Struct Reference

#include <document_types.hpp>

Public Member Functions

 color_t (color_elem_t _red, color_elem_t _green, color_elem_t _blue)
 
 color_t (color_elem_t _alpha, color_elem_t _red, color_elem_t _green, color_elem_t _blue)
 
void reset ()
 
bool operator== (const color_t &other) const
 
bool operator!= (const color_t &other) const
 

Public Attributes

color_elem_t alpha
 
color_elem_t red
 
color_elem_t green
 
color_elem_t blue
 

Detailed Description

Stores a color value in ARGB format. Each color component ranges from 0 to 255 (8-bit).