GRE "scale bar" layer. More...
#include <gre/lrscaleb.h>

Classes | |
| class | DISPPARM |
Public Member Functions | |
| LAYER_SCALEBAR (GRE::GROUP *group, CREATEFLAGS createflags=CREATEFLAG_None, GRE::LISTPOS listpos=GRE::LISTPOS_Last, GRE::LAYER *reflayer=0) | |
| virtual | ~LAYER_SCALEBAR () |
| const DISPPARM & | GetDispParm () const |
| ERRVALUE | SetDispParm (const DISPPARM &dispparm) |
Static Public Member Functions | |
| static void | RegisterType () |
| static void | SMLClassInstall (SMLCONTEXT *context) |
Protected Attributes | |
| DISPPARM | m_dispparm |
GRE "scale bar" layer.
| GRE::LAYER_SCALEBAR::LAYER_SCALEBAR | ( | GRE::GROUP * | group, | |
| CREATEFLAGS | createflags = CREATEFLAG_None, |
|||
| GRE::LISTPOS | listpos = GRE::LISTPOS_Last, |
|||
| GRE::LAYER * | reflayer = 0 | |||
| ) | [explicit] |
Construct layer and insert into list.
| group | Group to contain layer | |
| createflags | Creation flags | |
| listpos | Position in list | |
| reflayer | Reference layer for insertion |
| virtual GRE::LAYER_SCALEBAR::~LAYER_SCALEBAR | ( | ) | [virtual] |
Destructor.
GENERATING_DOXYGEN_OUTPUT
| const DISPPARM& GRE::LAYER_SCALEBAR::GetDispParm | ( | ) | const [inline] |
Retrieve layer-specific display parameters.
| static void GRE::LAYER_SCALEBAR::RegisterType | ( | ) | [static] |
Register this layer type.
Set layer-specific display parameters.
This is the recommended method for changing how an existing layer is to be rendered. Validation will be performed on the specified parameters and adjustments made to the layer's copy if necessary. Use of this method usually result in a ChangeBegin / ChangeEnd message pair, and will also generate a ChangeObject message if the spatial object used in the layer is changed.
| dispparm | Parameters to set |
| static void GRE::LAYER_SCALEBAR::SMLClassInstall | ( | SMLCONTEXT * | context | ) | [static] |
Install SML class, called by internal SML function.
Reimplemented from GRE::LAYER.
DISPPARM GRE::LAYER_SCALEBAR::m_dispparm [protected] |
Layer-specific display parameters.
1.6.1