#include <gre/legend.h>
Inheritance diagram for GRE_LEGEND::ITEMBASE:

Public Member Functions | |
| virtual void | Draw (const DRAWCONTEXT &dc, const LRECT2D &samplerect) const =0 |
| void | DrawLabel (const DRAWCONTEXT &dc, const LRECT2D &samplerect) const |
| virtual void | DrawTreeView (void *hdc, const GRE_ELEMSAMPLE_DC &dc, const CRect &rect, bool HasFocus)=0 |
| const RVC::ELEMENT & | GetElement () const |
| INT32 | GetElemNum () const |
| const MISTRING & | GetLabel () const |
| void | GetLabelSize (const DRAWCONTEXT &dc, LPOINT2D &size) const |
| virtual bool | HasTransparency () const |
| ITEMBASE (const RVC::ELEMENT &element, const MISTRING &label) | |
| ITEMBASE (const MISTRING &label) | |
| ITEMBASE () | |
| void | MergeLabel (const MISTRING &label) |
| virtual | ~ITEMBASE () |
Definition at line 262 of file legend.h.
|
|
Default constructor.
|
|
|
Construct with no specified element.
|
|
||||||||||||
|
Construct with element and label.
|
|
|
Destructor.
|
|
||||||||||||
|
Draw item.
Implemented in GRE_LEGEND_POINT::ITEM, GRE_LEGEND_LINE::ITEM, GRE_LEGEND_POLY::ITEM, GRE_LEGEND_COLORSAMPLE::ITEM, GRE_LEGEND_COLORSCALE::ITEM, and GRE_LAYER_RASTER::LEGEND_IMAGESAMPLE::ITEM. |
|
||||||||||||
|
Draw label.
|
|
||||||||||||||||||||
|
Draw item with label in MFC TreeView (MFC only). Must implement in derived class when compiling for WIN32_MFC.
Implemented in GRE_LEGEND_POINT::ITEM, GRE_LEGEND_LINE::ITEM, GRE_LEGEND_POLY::ITEM, GRE_LEGEND_COLORSAMPLE::ITEM, GRE_LEGEND_COLORSCALE::ITEM, and GRE_LAYER_RASTER::LEGEND_IMAGESAMPLE::ITEM. |
|
|
Get element used by item.
|
|
|
Get element number.
|
|
|
Get the label.
|
|
||||||||||||
|
Get size of label.
|
|
|
Determine if item requires transparency support.
Reimplemented in GRE_LEGEND_POINT::ITEM, GRE_LEGEND_LINE::ITEM, and GRE_LEGEND_POLY::ITEM. |
|
|
Merge label with current label.
|
1.3.8-20040913