- [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)
RGBByte Class Reference¶
#include <RGBByte.h>
Public Member Functions |
|
| RGBByte () | |
| RGBByte (UBYTE pred, UBYTE pgreen, UBYTE pblue) | |
| RGBByte (COLORREF c) | |
| RGBByte (const RGBFloat &color) | |
| void * | operator new (size_t size) |
| void | operator delete (void *ptr) |
| RGBByte & | operator+= (const RGBByte &) |
| RGBByte & | operator-= (const RGBByte &) |
| RGBByte & | operator *= (const float) |
| RGBByte | operator+ (const RGBByte &other) |
| operator COLORREF () | |
| RGBByte & | operator= (const RGBByte &other) |
| RGBByte & | operator/= (float scale) |
| RGBFloat | GetFactoredRGBFloat () const |
| RGBFloat | GetNormalizedRGBFloat () const |
| UBYTE | Red () const |
| UBYTE | Green () const |
| UBYTE | Blue () const |
| void | Set (UBYTE pred, UBYTE pgreen, UBYTE pblue) |
| void | Set (UBYTE value) |
| void | SetRed (UBYTE red) |
| void | SetGreen (UBYTE green) |
| void | SetBlue (UBYTE blue) |
| RGBByte | GammaCorrect (float power) |
| RGBFloat | Get () const |
| void | Set (const RGBFloat &) |
| float | GetLuminance () |
| BOOL | CheckOffBound (float lobound, float hibound) |
Public Attributes |
|
| UBYTE | m_blue |
| UBYTE | m_green |
| UBYTE | m_red |