#include <RGBTriple.h>
Public Member Functions | |
RGBTriple (void) | |
RGBTriple (BYTE r, BYTE g, BYTE b) | |
UWORD32 | calcDistance (const RGBTriple &t) const |
bool | operator== (const RGBTriple &t) const |
bool | operator!= (const RGBTriple &t) const |
Public Attributes | |
BYTE | Red |
BYTE | Green |
BYTE | Blue |
|
|
|
|
|
get the squared distance in the RGB cube between this triple and the triple t
|
|
return true iff this triple and t are not equal (i.e. have different rgb values) |
|
returns true iff this triple and t are equal (i.e. have the same rgb values) |
|
|
|
|
|
|