|
| Colori (uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) |
|
template<class T > |
| Colori (const T *rgba) |
|
| Colori (uint8_t gray=255, uint8_t a=255) |
|
| Colori (const Color &c) |
|
| Colori (const HSV &hsv, uint8_t a=255) |
|
| Colori (const RGB &rgb, uint8_t a=255) |
|
| Colori (const CIE_XYZ &xyz, float a=1.f) |
|
| Colori (const Lab &lab, float a=1.f) |
|
| Colori (const HCLab &hclab, float a=1.f) |
|
| Colori (const Luv &luv, float a=1.f) |
|
| Colori (const HCLuv &hcluv, float a=1.f) |
|
uint8_t & | operator[] (int i) |
| Set color component at index with no bounds checking.
|
|
const uint8_t & | operator[] (int i) const |
| Get color component at index with no bounds checking.
|
|
Colori & | operator= (const Color &v) |
| Set from floating-point color.
|
|
Colori & | operator= (const HSV &v) |
| Set RGB components from HSV.
|
|
Colori & | operator= (const RGB &v) |
| Set RGB components from RGB.
|
|
Colori & | operator= (const CIE_XYZ &v) |
| Set RGB components from CIE_XYZ.
|
|
Colori & | operator= (const Lab &v) |
| Set RGB components from Lab.
|
|
Colori & | operator= (const HCLab &v) |
| Set RGB components from HCLab.
|
|
Colori & | operator= (const Luv &v) |
| Set RGB components from Luv.
|
|
Colori & | operator= (const HCLuv &v) |
| Set RGB components from HCLuv.
|
|
Colori & | set (uint8_t re, uint8_t gr, uint8_t bl) |
| Set RGB components.
|
|
Colori & | set (uint8_t re, uint8_t gr, uint8_t bl, uint8_t al) |
| Set RGBA components.
|
|
Colori & | set (uint8_t v) |
| Set from gray value.
|
|
Colori & | set (uint8_t v, uint8_t al) |
| Set from gray value and alpha.
|
|
Colori | inverse () const |
| Returns inverted color.
|
|
Colori & | invert () |
| Invert RGB components.
|
|
Color represented by red, green, blue, and alpha components packed into 32-bit integer The component accessor methods operate exclusively with integer types. To convert to and from floating point values in the interval [0, 1], use the overloaded assignment (=) operators.
Definition at line 265 of file al_Color.hpp.