- [Main Page](index.md)
- [Classes](annotated.md)
- [Files](files.md)
- [Directories](dirs.md)
- [Related Pages](pages.md)
- [Class List](annotated.md)
- [Alphabetical List](classes.md)
- [Class Hierarchy](hierarchy.md)
- [Class Members](functions.md)
RGBFloat Class Reference¶
#include <RGBFloat.h>
Public Member Functions |
|
| RGBFloat (void) | |
| RGBFloat (float red, float green, float blue) | |
| RGBFloat (const float scalar) | |
| RGBFloat (COLORREF c) | |
| RGBFloat (const RGBFloat &other) | |
| RGBFloat (const RGBHalf &other) | |
| RGBFloat (const RGBByte &other) | |
| void * | operator new (size_t size) |
| void | operator delete (void *ptr) |
| RGBFloat & | operator= (float scalar) |
| RGBFloat & | operator= (const RGBFloat &other) |
| RGBFloat & | operator+= (const RGBFloat &other) |
| RGBFloat & | operator-= (const RGBFloat &other) |
| RGBFloat & | operator *= (const RGBFloat &other) |
| RGBFloat & | operator *= (float scale) |
| RGBFloat & | operator/= (const RGBFloat &other) |
| RGBFloat & | operator/= (float scale) |
| float | Red () const |
| float | Green () const |
| float | Blue () const |
| void | SetRed (float red) |
| void | SetGreen (float green) |
| void | SetBlue (float blue) |
| void | Set (float red, float green, float blue) |
| void | Set (float init) |
| int | operator== (const RGBFloat &a) const |
| int | operator!= (const RGBFloat &a) const |
| RGBFloat | operator+ (const RGBFloat &a) const |
| RGBFloat | operator- (const RGBFloat &a) const |
| RGBFloat | operator * (const RGBFloat &a) const |
| RGBFloat | operator * (float s) const |
| RGBFloat | operator/ (float s) const |
| RGBFloat | operator/ (const RGBFloat &a) const |
| float | operator[] (int i) const |
| COLORREF | GetCOLORREF () const |
| float | GetLuminance () const |
| void | Min (float min) |
| void | Max (float max) |
| void | MinMax (float min, float max) |
| RGBFloat | GammaCorrect (float power) const |
| BOOL | CheckOffBound (float lobound, float hibound) |
Public Attributes |
|
| float | m_blue |
| float | m_green |
| float | m_red |
Friends |
|
| RGBFloat | operator * (const float s, const RGBFloat &a) |