The HPixelRGB class is the data type of a rgb pixel. More...
#include <HGlobals.h>
Public Member Functions | |
unsigned char | b () const |
void | b (unsigned char const B) |
unsigned char | g () const |
void | g (unsigned char const G) |
HPixelRGB (unsigned char R=0, unsigned char G=0, unsigned char B=0) | |
HPixelRGB (HPixelRGB const &p) | |
unsigned char | r () const |
void | r (unsigned char const R) |
void | Set (unsigned char R, unsigned char G, unsigned char B) |
void | Setf (float R, float G, float B) |
The HPixelRGB class is the data type of a rgb pixel.
|
inline |
Sets the red, green and blue values.
Referenced by HPixelRGBA::Set().
|
inline |
Sets a pixel value taking floats (between 0.0 - 1.0) for rgb.
Referenced by HPixelRGBA::Setf().