GRE::LAYER_LEGEND2 Class Reference

#include <gre/lrlegnd2.h>

Inheritance diagram for GRE::LAYER_LEGEND2:
Inheritance graph
[legend]

List of all members.

Classes

class  DISPPARM
class  LAYERREF
 Class used internally to keep track of which layers the legend refers to. More...

Public Member Functions

 LAYER_LEGEND2 (GRE::GROUP *group, CREATEFLAGS createflags=CREATEFLAG_None, GRE::LISTPOS listpos=GRE::LISTPOS_Last, GRE::LAYER *reflayer=0)
virtual ~LAYER_LEGEND2 ()
const DISPPARMGetDispParm () const
double GetScaleFactor () const
ERRVALUE SetDispParm (const DISPPARM &dispparm)
void SetLayout (const GRAPHICLAYOUT &grlayout)

Static Public Member Functions

static void RegisterType ()

Protected Attributes

DISPPARM m_dispparm

Constructor & Destructor Documentation

GRE::LAYER_LEGEND2::LAYER_LEGEND2 ( GRE::GROUP group,
CREATEFLAGS  createflags = CREATEFLAG_None,
GRE::LISTPOS  listpos = GRE::LISTPOS_Last,
GRE::LAYER reflayer = 0 
) [explicit]

Construct layer and insert into list.

Parameters:
group Group to contain layer
createflags Creation flags
listpos Position in list
reflayer Reference layer for insertion
virtual GRE::LAYER_LEGEND2::~LAYER_LEGEND2 (  )  [virtual]

Member Function Documentation

const DISPPARM& GRE::LAYER_LEGEND2::GetDispParm (  )  const [inline]

Retrieve layer-specific display parameters.

double GRE::LAYER_LEGEND2::GetScaleFactor (  )  const

Return scale factor between legend's layout units and output "ground meters".

static void GRE::LAYER_LEGEND2::RegisterType (  )  [static]

Callback for the "Add Legend" menu of GRE::LAYER_LEGEND.

Register this layer type

ERRVALUE GRE::LAYER_LEGEND2::SetDispParm ( const DISPPARM dispparm  ) 

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.

Parameters:
dispparm Parameters to set
void GRE::LAYER_LEGEND2::SetLayout ( const GRAPHICLAYOUT grlayout  ) 

Member Data Documentation

Layer-specific display parameters.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:34:25 2012 for TNTsdk 2012 by  doxygen 1.6.1