|
Public Member Functions |
| ColorSeries (unsigned levels=2, const DrawingColor &endColor=DrawingColor("black","#000"), const DrawingColor &startColor=DrawingColor("white","#fff")) |
DrawingColor | get (unsigned level) const |
std::string | getColorAtLevel (unsigned level) const |
std::string | reversedSeriesGetColorAtLevel (unsigned level) const |
bool | useBlackInkAtLevel (unsigned level) const |
bool | reversedSeriesUseBlackInkAtLevel (unsigned level) const |
Private Attributes |
unsigned | _levels |
DrawingColor | _endColor |
DrawingColor | _startColor |
std::vector< DrawingColor > | _colorSeries |
Static Private Attributes |
static double | _twoSaturations [2] = {0.00,1.0} |
static double | _threeSaturations [3] = {0.12,0.48,1.0} |
static double | _fourSaturations [4] = {0.12,0.30,0.65,1.0} |
static double | _fiveSaturations [5] = {0.12,0.24,0.48,0.65,1.0} |
static double * | _saturations [6] |