Drawing Context for Element Samples. More...
#include <gre/elemsampledc.h>

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::CONTEXT * | GetGC () const |
| MGD::STYLESAMPLEFLAGS | GetSampleFlags () const |
| const RVC::STYLE & | GetStyleObject () const |
| const TRANS2D_MAPGEN * | GetTransGen () 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) |
Drawing Context for Element Samples.
| 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.
| 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] |
1.6.1