GRE::ELEMSAMPLE_DC Class Reference

Drawing Context for Element Samples. More...

#include <gre/elemsampledc.h>

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

List of all members.

Public Member Functions

 ELEMSAMPLE_DC (MGD::CONTEXT *gc, MGD::STYLESAMPLEFLAGS SampleFlags=MGD::STYLESAMPLE_ShrinkToFit)
 ELEMSAMPLE_DC (MGD::STYLESAMPLEFLAGS SampleFlags=MGD::STYLESAMPLE_ShrinkToFit)
virtual ~ELEMSAMPLE_DC ()
void CloseStyleObject ()
MGD::CONTEXTGetGC () const
MGD::STYLESAMPLEFLAGS GetSampleFlags () const
const RVC::STYLEGetStyleObject () const
const TRANS2D_MAPGENGetTransGen () const
ERRVALUE OpenStyleObject (const RVC::OBJITEM &StyleObj, const RVC::CREDENTIALS *Credentials=0)
void SetGC (MGD::CONTEXT *gc)
void SetSampleFlags (MGD::STYLESAMPLEFLAGS SampleFlags)
void SetTransGen (const TRANS2D_MAPGEN *trans)

Detailed Description

Drawing Context for Element Samples.


Constructor & Destructor Documentation

GRE::ELEMSAMPLE_DC::ELEMSAMPLE_DC ( MGD::STYLESAMPLEFLAGS  SampleFlags = MGD::STYLESAMPLE_ShrinkToFit  )  [explicit]

Constructor.

GRE::ELEMSAMPLE_DC::ELEMSAMPLE_DC ( MGD::CONTEXT gc,
MGD::STYLESAMPLEFLAGS  SampleFlags = MGD::STYLESAMPLE_ShrinkToFit 
) [explicit]

Construct with MGC_GC.

virtual GRE::ELEMSAMPLE_DC::~ELEMSAMPLE_DC (  )  [virtual]

Destructor.


Member Function Documentation

void GRE::ELEMSAMPLE_DC::CloseStyleObject (  )  [inline]

Close style object if was opened.

MGD::CONTEXT* GRE::ELEMSAMPLE_DC::GetGC (  )  const [inline]

Get graphic drawing context.

MGD::STYLESAMPLEFLAGS GRE::ELEMSAMPLE_DC::GetSampleFlags (  )  const [inline]

Get flags for Draw...StyleSample() usage.

const RVC::STYLE& GRE::ELEMSAMPLE_DC::GetStyleObject (  )  const [inline]

Get reference to style object.

const TRANS2D_MAPGEN* GRE::ELEMSAMPLE_DC::GetTransGen (  )  const [inline]

Get the TransGen used to draw this sample Will be NULL if drawing into legend view, Will be valid if drawing for legend layer.

ERRVALUE GRE::ELEMSAMPLE_DC::OpenStyleObject ( const RVC::OBJITEM StyleObj,
const RVC::CREDENTIALS Credentials = 0 
) [inline]

Open specified style object.

If specified path/inode matches currently open object it will not be opened again.

void GRE::ELEMSAMPLE_DC::SetGC ( MGD::CONTEXT gc  )  [inline]

Set drawing context.

void GRE::ELEMSAMPLE_DC::SetSampleFlags ( MGD::STYLESAMPLEFLAGS  SampleFlags  )  [inline]

Set flags for Draw...StyleSample() usage.

void GRE::ELEMSAMPLE_DC::SetTransGen ( const TRANS2D_MAPGEN trans  )  [inline]

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

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