List of all members.
Public Member Functions |
| Color (uint32 c=0) |
| Color (uint8 red, uint8 green, uint8 blue, uint8 alpha=0xff) |
uint32 | premultiplied () const |
void | set (uint8 red, uint8 green, uint8 blue) |
void | set (uint8 red, uint8 green, uint8 blue, uint8 alpha) |
uint32 | rgb () const |
uint32 | argb () const |
uint | red () const |
uint | green () const |
uint | blue () const |
uint | alpha () const |
double | red1 () const |
double | green1 () const |
double | blue1 () const |
double | alpha1 () const |
| operator _unspecified_bool_type () const |
Color & | alpha (uint8 v) |
Color & | red (uint8 v) |
Color & | green (uint8 v) |
Color & | blue (uint8 v) |
double | get_hsv_value () |
void | set_hsv_value (double v) |
void | get_hsv (double *huep, double *saturationp, double *valuep) |
void | set_hsv (double hue, double saturation, double value) |
void | tint (double hsv_shift, double saturation_factor, double value_factor) |
uint8 | channel (uint nth) const |
void | channel (uint nth, uint8 v) |
Color & | shade (uint8 lucent) |
Color & | combine (const Color c2, uint8 lucent) |
Color & | blend_premultiplied (const Color c2, uint8 lucent) |
Color & | add_premultiplied (const Color c2, uint8 lucent) |
String | string () const |
Static Public Member Functions |
static uint8 | IMUL (uint8 v, uint8 alpha) |
static uint8 | IDIV (uint8 v, uint8 alpha) |
static uint8 | IDIV0 (uint8 v, uint8 alpha) |
static Color | from_name (const String &color_name) |
static Color | from_premultiplied (uint32 pargb) |
The documentation for this class was generated from the following files: