#include <gre/scriptcontext.h>
Inheritance diagram for GRE_SCRIPTCONTEXT_DRAW:

Public Member Functions | |
| void | AttachContext (SMLCONTEXT *&context) |
| ERRVALUE | CreateContext (RVC::GEOMETRIC &GeoObj) |
| void | DestroyContext () |
| SMLCONTEXT * | GetContext () const |
| GRE_SCRIPTCONTEXT_DRAW () | |
| bool | HasContext () const |
| ERRVALUE | InitDraw (GRE_LAYERDC &layerdc) |
| ERRVALUE | InitDraw (GRE_LAYER *layer, MGD::CONTEXT *gc, const TRANS2D_MAPGEN &trans, bool Is3D=false) |
| virtual | ~GRE_SCRIPTCONTEXT_DRAW () |
Protected Member Functions | |
| virtual void | CreateSymbols () |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
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.
|
|
|
Create SML context using RVC::GEOMETRIC object.
|
|
|
Reimplemented in GRE_SCRIPTCONTEXT_STYLE, and GRE_SCRIPTCONTEXT_LABEL. |
|
|
Destroy attached SML context if any.
Definition at line 68 of file scriptcontext.h. |
|
|
Get attached SMLCONTEXT pointer. Do not free or Destroy() the returned pointer. Definition at line 73 of file scriptcontext.h. |
|
|
Determine if have SMLCONTEXT attached.
Definition at line 77 of file scriptcontext.h. |
|
|
Initialize using layer drawing context.
|
|
||||||||||||||||||||
|
Initialize context variables for drawing.
|
1.3.8-20040913