#include <bwColor.h>
|
| | bwColor (float red, float green, float blue, float alpha=1.0f) |
| |
| | bwColor (float rgb, float alpha=1.0f) |
| |
| | bwColor (unsigned int red, unsigned int green, unsigned int blue, unsigned int alpha=255) |
| |
| | bwColor (unsigned int rgb, unsigned int alpha=255) |
| |
| | bwColor ()=default |
| |
| | ~bwColor ()=default |
| |
| | bwColor (const bwColor &) |
| |
| auto | shade (float rgb_shade, float alpha_shade=0.0f) -> bwColor & |
| |
| auto | shade (unsigned int rgb_shade, unsigned int alpha_shade=0.0f) -> bwColor & |
| |
| void | setColor (float red, float green, float blue, float alpha=1.0f) |
| |
| void | setColor (float rgb, float alpha=1.0f) |
| |
| void | setColor (const float rgba[4]) |
| |
| auto | getColor () const -> const float * |
| |
| auto | operator= (const float *rgb) -> bwColor & |
| |
| auto | operator= (const bwColor &other_color) -> bwColor & |
| |
| auto | operator== (const bwColor &compare_color) const -> bool |
| |
| auto | operator[] (const int index) -> float & |
| |
| | operator const float * () const |
| |
◆ bwColor() [1/6]
| bWidgets::bwColor::bwColor |
( |
float |
red, |
|
|
float |
green, |
|
|
float |
blue, |
|
|
float |
alpha = 1.0f |
|
) |
| |
◆ bwColor() [2/6]
| bWidgets::bwColor::bwColor |
( |
float |
rgb, |
|
|
float |
alpha = 1.0f |
|
) |
| |
◆ bwColor() [3/6]
| bWidgets::bwColor::bwColor |
( |
unsigned int |
red, |
|
|
unsigned int |
green, |
|
|
unsigned int |
blue, |
|
|
unsigned int |
alpha = 255 |
|
) |
| |
◆ bwColor() [4/6]
| bWidgets::bwColor::bwColor |
( |
unsigned int |
rgb, |
|
|
unsigned int |
alpha = 255 |
|
) |
| |
◆ bwColor() [5/6]
| bWidgets::bwColor::bwColor |
( |
| ) |
|
|
default |
◆ ~bwColor()
| bWidgets::bwColor::~bwColor |
( |
| ) |
|
|
default |
◆ bwColor() [6/6]
| bWidgets::bwColor::bwColor |
( |
const bwColor & |
other | ) |
|
◆ getColor()
| auto bWidgets::bwColor::getColor |
( |
| ) |
const -> const float* |
◆ operator const float *()
| bWidgets::bwColor::operator const float * |
( |
| ) |
const |
◆ operator=() [1/2]
| auto bWidgets::bwColor::operator= |
( |
const bwColor & |
other_color | ) |
-> bwColor& |
◆ operator=() [2/2]
| auto bWidgets::bwColor::operator= |
( |
const float * |
rgb | ) |
-> bwColor& |
◆ operator==()
| auto bWidgets::bwColor::operator== |
( |
const bwColor & |
compare_color | ) |
const -> bool |
◆ operator[]()
| auto bWidgets::bwColor::operator[] |
( |
const int |
index | ) |
-> float& |
◆ setColor() [1/3]
| void bWidgets::bwColor::setColor |
( |
const float |
rgba[4] | ) |
|
◆ setColor() [2/3]
| void bWidgets::bwColor::setColor |
( |
float |
red, |
|
|
float |
green, |
|
|
float |
blue, |
|
|
float |
alpha = 1.0f |
|
) |
| |
◆ setColor() [3/3]
| void bWidgets::bwColor::setColor |
( |
float |
rgb, |
|
|
float |
alpha = 1.0f |
|
) |
| |
◆ shade() [1/2]
| auto bWidgets::bwColor::shade |
( |
float |
rgb_shade, |
|
|
float |
alpha_shade = 0.0f |
|
) |
| -> bwColor& |
◆ shade() [2/2]
| auto bWidgets::bwColor::shade |
( |
unsigned int |
rgb_shade, |
|
|
unsigned int |
alpha_shade = 0.0f |
|
) |
| -> bwColor& |
The documentation for this class was generated from the following files: