Color-Scale legend subclass. More...
#include <gre/legend.h>

Public Member Functions | |
| LEGEND_COLORSCALE (GRE::LAYER *layer) | |
| void | SetLabel (const MISTRING &label) |
| void | SetLength (int length) |
| void | SetValues (const COLOR_ARRAY &palette, const CBPARMS &ColorBalance, double MinValue, double MaxValue, bool VerticalMinAtTop) |
| void | SetValues (const COLOR_ARRAY &palette, double MinValue, double MaxValue, bool VerticalMinAtTop) |
Color-Scale legend subclass.
| GRE::LEGEND_COLORSCALE::LEGEND_COLORSCALE | ( | GRE::LAYER * | layer | ) |
Construct legend for layer.
| layer | Layer legend is for |
| void GRE::LEGEND_COLORSCALE::SetLabel | ( | const MISTRING & | label | ) |
Set optional label.
| void GRE::LEGEND_COLORSCALE::SetLength | ( | int | length | ) |
Set length in pixels.
| void GRE::LEGEND_COLORSCALE::SetValues | ( | const COLOR_ARRAY & | palette, | |
| const CBPARMS & | ColorBalance, | |||
| double | MinValue, | |||
| double | MaxValue, | |||
| bool | VerticalMinAtTop | |||
| ) |
Set legend values with palette and color balance.
This will create or update the single legend "item".
| ColorBalance | For adjusting color |
| void GRE::LEGEND_COLORSCALE::SetValues | ( | const COLOR_ARRAY & | palette, | |
| double | MinValue, | |||
| double | MaxValue, | |||
| bool | VerticalMinAtTop | |||
| ) |
Set legend values with palette.
This will create or update the single legend "item".
1.6.1