
A structure containing a HSBA value. More...
#include <hsba.h>
Public Member Functions | |
| HSBA (double h=0.0, double s=0.0, double b=0.0, double a=1.0) | |
| HSBA (const RGBA &rgb) | |
| double | operator[] (unsigned index) |
| HSBA & | operator= (const RGBA &rgb) |
| operator RGBA () const | |
| operator Cairo::RefPtr< Cairo::Pattern > () | |
Public Attributes | |
| double | hue |
| double | saturation |
| double | brightness |
| double | alpha |
A structure containing a HSBA value.
| Papyrus::HSBA::HSBA | ( | double | h = 0.0, |
|
| double | s = 0.0, |
|||
| double | b = 0.0, |
|||
| double | a = 1.0 | |||
| ) |
| Papyrus::HSBA::HSBA | ( | const RGBA & | rgb | ) |
| Papyrus::HSBA::operator Cairo::RefPtr< Cairo::Pattern > | ( | ) |
| Papyrus::HSBA::operator RGBA | ( | ) | const |
References alpha, Papyrus::RGBA::alpha, Papyrus::RGBA::blue, brightness, Papyrus::RGBA::green, Papyrus::hsb_to_rgb(), hue, Papyrus::RGBA::red, and saturation.
References Papyrus::RGBA::alpha, alpha, Papyrus::RGBA::blue, brightness, Papyrus::RGBA::green, hue, Papyrus::RGBA::red, Papyrus::rgb_to_hsb(), and saturation.
| double Papyrus::HSBA::operator[] | ( | unsigned | index | ) |
References alpha, brightness, hue, and saturation.
| double Papyrus::HSBA::alpha |
Referenced by operator RGBA(), operator=(), and operator[]().
| double Papyrus::HSBA::brightness |
Referenced by operator RGBA(), operator=(), and operator[]().
| double Papyrus::HSBA::hue |
Referenced by operator RGBA(), operator=(), and operator[]().
| double Papyrus::HSBA::saturation |
Referenced by operator RGBA(), operator=(), and operator[]().
1.6.1