GRE::SCRIPTCONTEXT_DRAW Class Reference
#include <gre/scriptcontext.h>
List of all members.
Constructor & Destructor Documentation
| GRE::SCRIPTCONTEXT_DRAW::SCRIPTCONTEXT_DRAW |
( |
|
) |
|
| virtual GRE::SCRIPTCONTEXT_DRAW::~SCRIPTCONTEXT_DRAW |
( |
|
) |
[virtual] |
Member Function Documentation
| void GRE::SCRIPTCONTEXT_DRAW::AttachContext |
( |
SMLCONTEXT *& |
context |
) |
|
Attach SML context.
After attachment the SCRIPTCONTEXT_DRAW 'owns' the context and will destroy it when necessary. The context pointer is passed by reference and set to NULL on return to prevent external use of the context.
- Parameters:
-
| context | Context to attach, will set to NULL on return |
Create SML context using RVC::GEOMETRIC object.
- Parameters:
-
| GeoObj | Geometric object (VECTOR, TIN, CAD, etc) |
| virtual void GRE::SCRIPTCONTEXT_DRAW::CreateSymbols |
( |
|
) |
[protected, virtual] |
| void GRE::SCRIPTCONTEXT_DRAW::DestroyContext |
( |
|
) |
|
Destroy attached SML context if any.
| SMLCONTEXT* GRE::SCRIPTCONTEXT_DRAW::GetContext |
( |
|
) |
const [inline] |
Get attached SMLCONTEXT pointer.
Do not free or Destroy() the returned pointer.
| bool GRE::SCRIPTCONTEXT_DRAW::HasContext |
( |
|
) |
const [inline] |
Determine if have SMLCONTEXT attached.
Initialize using layer drawing context.
Initialize context variables for drawing.
- Parameters:
-
| layer | Layer |
| gc | Drawing device context |
| Is3D | 3D setting for CartoScript |
| void GRE::SCRIPTCONTEXT_DRAW::SetScaleValues |
( |
double |
DesignScale, |
|
|
double |
CurrentScale | |
|
) |
| | |
The documentation for this class was generated from the following file: