#include <color.hpp>
|
| Color () |
|
| Color (const Color &_c) |
|
| Color (const float _f) |
|
| Color (const float _r, const float _g, const float _b) |
|
| Color (const float _r, const float _g, const float _b, const float _a) |
|
| Color (uint8 _r, uint8 _g, uint8 _b) |
|
| Color (uint8 _r, uint8 _g, uint8 _b, uint8 _a) |
|
| Color (const float *_c) |
|
| Color (const uint8 *pComponent) |
|
| Color (uint32 _c) |
|
| operator uint32 () const |
|
| operator float * () |
|
Color & | operator+= (const Color &c) |
|
Color & | operator-= (const Color &c) |
|
Color & | operator*= (const Color &c) |
|
Color & | operator*= (const float f) |
|
Color & | operator/= (const Color &c) |
|
Color & | operator/= (const float f) |
|
Color | operator+ (const Color &_c) const |
|
Color | operator- (const Color &_c) const |
|
Color | operator- () const |
|
Color | operator* (const Color &_c) const |
|
Color | operator* (const float f) const |
|
Color | operator/ (const Color &_c) const |
|
Color | operator/ (const float f) const |
|
bool | operator== (const Color &_c) const |
|
bool | operator!= (const Color &_c) const |
|
Color | negate () const |
|
Color | negateA () const |
|
Color | min (const Color &_c) const |
|
Color | max (const Color &_c) const |
|
|
union { |
struct { |
float r |
|
float g |
|
float b |
|
float a |
|
} | |
|
struct { |
float red |
|
float green |
|
float blue |
|
float alpha |
|
} | |
|
float c [4] |
|
}; | |
|
Definition at line 40 of file color.hpp.
Color::Color |
( |
const Color & |
_c | ) |
|
|
inline |
Color::Color |
( |
const float |
_f | ) |
|
|
inline |
Color::Color |
( |
const float |
_r, |
|
|
const float |
_g, |
|
|
const float |
_b |
|
) |
| |
|
inlineexplicit |
Color::Color |
( |
const float |
_r, |
|
|
const float |
_g, |
|
|
const float |
_b, |
|
|
const float |
_a |
|
) |
| |
|
inlineexplicit |
Color::Color |
( |
const float * |
_c | ) |
|
|
inline |
Color::Color |
( |
const uint8 * |
pComponent | ) |
|
|
inline |
Color Color::negate |
( |
| ) |
const |
|
inline |
Color Color::negateA |
( |
| ) |
const |
|
inline |
Color::operator float * |
( |
| ) |
|
|
inline |
Color::operator uint32 |
( |
| ) |
const |
|
inline |
bool Color::operator!= |
( |
const Color & |
_c | ) |
const |
|
inline |
Color Color::operator* |
( |
const float |
f | ) |
const |
|
inline |
Color& Color::operator*= |
( |
const float |
f | ) |
|
|
inline |
Color Color::operator- |
( |
| ) |
const |
|
inline |
Color Color::operator/ |
( |
const float |
f | ) |
const |
|
inline |
Color& Color::operator/= |
( |
const float |
f | ) |
|
|
inline |
bool Color::operator== |
( |
const Color & |
_c | ) |
const |
|
inline |
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const Color & |
color |
|
) |
| |
|
friend |
const Color Color::LightGrey |
|
static |
const Color Color::Yellow |
|
static |
The documentation for this class was generated from the following file: