#include <gre/legend.h>
Inheritance diagram for GRE_LEGEND_COLORSCALE::ITEM:

Public Member Functions | |
| virtual void | Draw (const DRAWCONTEXT &dc, const LRECT2D &samplerect) const |
| virtual void | DrawTreeView (void *hdc, const GRE_ELEMSAMPLE_DC &dc, const CRect &rect, bool HasFocus) |
| ITEM (GRE_LEGEND_COLORSCALE &legend, const SIMPLE_ARRAY< COLOR > &palette, const CBPARMS &ColorBalance, double MinValue, double MaxValue, bool VerticalMinAtTop) | |
| INT32 | ValueToPosition (const GRE_LAYER_RASTER *layer, double value, INT32 size) const |
| virtual | ~ITEM () |
|
||||||||||||||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Draw item.
Implements GRE_LEGEND::ITEMBASE. |
|
||||||||||||||||||||
|
Draw item with label in TreeView (WIN32_MFC).
Implements GRE_LEGEND::ITEMBASE. |
|
||||||||||||||||
|
Convert "value" to position in legend coordinates. This accounts for whether minimum is at bottom/left or top/right.
|
1.3.8-20040913