#include <BmpPaletteSampleValue.h>
Inheritance diagram for BmpPaletteSampleValue:
Public Member Functions | |
BmpPaletteSampleValue (BYTE i) | |
SampleValue * | getNearestTargetSampleValue (EmbValue t) const |
std::string | getName (void) const |
BYTE | getIndex (void) const |
BYTE | getRed (void) const |
BYTE | getGreen (void) const |
BYTE | getBlue (void) const |
Private Member Functions | |
EmbValue | calcEValue (BYTE idx) const |
Private Attributes | |
ColorPalette * | Palette |
BYTE | Index |
|
|
|
|
|
get the blue color component Implements BmpSampleValue. |
|
get the green color component Implements BmpSampleValue. |
|
|
|
return a short name uniquely identifying this sample value Implements SampleValue. |
|
get the nearest (with the least distance to this sample value) sample value whose embedded value equals the specified target
The returned SampleValue object should be deleted by the callser. Implements SampleValue. |
|
get the red color component Implements BmpSampleValue. |
|
|
|
|