#include <plpixel16.h>
Public Member Functions | |
PLPixel16 (PLBYTE r, PLBYTE g, PLBYTE b) | |
void | Set (PLBYTE r, PLBYTE g, PLBYTE b) |
void | SetR (PLBYTE r) |
void | SetG (PLBYTE g) |
void | SetB (PLBYTE b) |
PLBYTE | GetR () const |
PLBYTE | GetG () const |
PLBYTE | GetB () const |
PLPixel16 | operator= (const PLPixel32 &Pix) |
operator PLPixel32 () const | |
PLPixel16 | operator= (const PLPixel24 &Pix) |
operator PLPixel24 () const | |
bool | operator== (const PLPixel16 Pix) const |
bool | operator!= (const PLPixel16 Pix) const |
int | BoxDist (const PLPixel16 Pix) const |
Definition at line 24 of file plpixel16.h.
|
Simple and fast 'distance' between two pixels. Just adds the distances between the color components and treats colors equally. Definition at line 169 of file plpixel16.h. |