mp_traversals
Terrible Traversals
|
A color picker class using rainbow color picking algorithm. More...
#include <RainbowColorPicker.h>
Public Member Functions | |
RainbowColorPicker (double increment) | |
RainbowColorPicker constructor. More... | |
HSLAPixel | getColor (unsigned x, unsigned y) |
Picks the color for pixel (x, y). More... | |
Public Member Functions inherited from ColorPicker | |
virtual | ~ColorPicker () |
Class destructor. More... | |
Private Attributes | |
double | hue |
double | increment |
A color picker class using rainbow color picking algorithm.
RainbowColorPicker::RainbowColorPicker | ( | double | increment | ) |
RainbowColorPicker constructor.
|
virtual |
Picks the color for pixel (x, y).
x | The x coordinate to pick a color for. |
y | The y coordinate to pick a color for. |
Implements ColorPicker.