REFERENCE MANUAL
Public Member Functions | |
HPS_INLINE bool | Equals (RGBAColor const &c, int in_tolerance=32) const |
HPS_INLINE float | Gray () const |
HPS_INLINE bool | IsGray () const |
HPS_INLINE bool | IsValid () const |
HPS_INLINE bool | operator!= (RGBAColor const &c) const |
HPS_INLINE RGBAColor const | operator* (RGBAColor const &c) const |
HPS_INLINE RGBAColor const | operator* (float s) const |
HPS_INLINE RGBAColor const | operator* (RGBColor const &c) const |
HPS_INLINE RGBAColor & | operator*= (RGBAColor const &c) |
HPS_INLINE RGBAColor & | operator*= (float s) |
HPS_INLINE RGBAColor & | operator*= (RGBColor const &c) |
HPS_INLINE RGBAColor const | operator+ (RGBAColor const &c) const |
HPS_INLINE RGBAColor const | operator+ (float s) const |
HPS_INLINE RGBAColor const | operator+ (RGBColor const &c) const |
HPS_INLINE RGBAColor & | operator+= (RGBAColor const &c) |
HPS_INLINE RGBAColor & | operator+= (float s) |
HPS_INLINE RGBAColor & | operator+= (RGBColor const &c) |
HPS_INLINE RGBAColor const | operator- (RGBAColor const &c) const |
HPS_INLINE RGBAColor const | operator- (float s) const |
HPS_INLINE RGBAColor const | operator- (RGBColor const &c) const |
HPS_INLINE RGBAColor & | operator-= (RGBAColor const &c) |
HPS_INLINE RGBAColor & | operator-= (float s) |
HPS_INLINE RGBAColor & | operator-= (RGBColor const &c) |
HPS_INLINE RGBAColor const | operator/ (float s) const |
HPS_INLINE RGBAColor & | operator/= (float s) |
HPS_INLINE bool | operator== (RGBAColor const &c) const |
HPS_INLINE | RGBAColor (float gray, float a=1) |
HPS_INLINE | RGBAColor (float r, float g, float b, float a=1) |
HPS_INLINE | RGBAColor (RGBColor const &c) |
HPS_INLINE | RGBAColor (RGBColor const &c, float a) |
HPS_INLINE | RGBAColor (RGBA32Color const &c32) |
HPS_INLINE | RGBAColor (RGBAS32Color const &c32) |
Static Public Member Functions | |
static HPS_INLINE RGBAColor | Black () |
static HPS_INLINE RGBAColor | Invalid () |
static HPS_INLINE RGBAColor | Nothing () |
static HPS_INLINE RGBAColor | White () |
Public Attributes | |
float | alpha |
float | blue |
float | green |
float | red |
|
inline |
Determines RGBA non-equivalency between this object and argument.
c | The color object to test against |
|
inline |
float RGBAColor::alpha |
Alpha component of this color object, from 0.0 to 1.0
Referenced by operator==().
float RGBAColor::blue |
Blue component of this color object, from 0.0 to 1.0
Referenced by operator==().
float RGBAColor::green |
Green component of this color object, from 0.0 to 1.0
Referenced by operator==().
float RGBAColor::red |
Red component of this color object, from 0.0 to 1.0
Referenced by operator==().