GRE::SCRIPTCONTEXT_STYLE Class Reference
#include <gre/scriptcontext.h>
List of all members.
Public Member Functions |
| | SCRIPTCONTEXT_STYLE () |
| virtual | ~SCRIPTCONTEXT_STYLE () |
| int | CreateSegment (ELEMTYPE elemtype, const MIUNICODE *scriptstr) |
| ERRVALUE | Evaluate (int segment, RVC::CADELEMENT &Element, const RVC::STYLE &StyleObj, const SIMPLE_ARRAY< DPOINT2D > *pt=0, bool bDrawingLegendView=false) const |
| ERRVALUE | Evaluate (int segment, INT32 ElemNum, const RVC::STYLE &StyleObj, POLYSTYLE &style, const SIMPLE_ARRAY< DPOINT2D > *pt=0, bool bDrawingLegendView=false) const |
| ERRVALUE | Evaluate (int segment, INT32 ElemNum, const RVC::STYLE &StyleObj, LINESTYLE &style, const SIMPLE_ARRAY< DPOINT2D > *pt=0, bool bDrawingLegendView=false) const |
| ERRVALUE | Evaluate (int segment, INT32 ElemNum, const RVC::STYLE &StyleObj, POINTSTYLE &style, const DPOINT2D *pt=0, bool bDrawingLegendView=false) const |
| void | SetSampleRect (const DRECT2D &rect) |
Protected Member Functions |
| virtual void | CreateSymbols () |
Constructor & Destructor Documentation
| GRE::SCRIPTCONTEXT_STYLE::SCRIPTCONTEXT_STYLE |
( |
|
) |
|
| virtual GRE::SCRIPTCONTEXT_STYLE::~SCRIPTCONTEXT_STYLE |
( |
|
) |
[virtual] |
Member Function Documentation
| int GRE::SCRIPTCONTEXT_STYLE::CreateSegment |
( |
ELEMTYPE |
elemtype, |
|
|
const MIUNICODE * |
scriptstr | |
|
) |
| | |
Create script segment for element and parse specified script.
- Returns:
- SML 'Segment' for parsed script or error < 0.
- Parameters:
-
| elemtype | Element type |
| scriptstr | Script string |
| virtual void GRE::SCRIPTCONTEXT_STYLE::CreateSymbols |
( |
|
) |
[protected, virtual] |
- Parameters:
-
| segment | SML segment |
| Element | CAD element |
| StyleObj | RVC Style object |
| pt | Sample points for style sample |
| bDrawingLegendView | true if drawing sample for legend view |
- Parameters:
-
| segment | SML segment |
| ElemNum | Element number, type determined from 'segment' |
| StyleObj | RVC Style object |
| style | Style passed/returned |
| pt | Sample points for style sample |
| bDrawingLegendView | true if drawing sample for legend view |
- Parameters:
-
| segment | SML segment |
| ElemNum | Element number, type determined from 'segment' |
| StyleObj | RVC Style object |
| style | Style passed/returned |
| pt | Sample points for style sample |
| bDrawingLegendView | true if drawing sample for legend view |
- Parameters:
-
| segment | SML segment |
| ElemNum | Element number, type determined from 'segment' |
| StyleObj | RVC Style object |
| style | Style passed/returned |
| pt | Sample point for style sample |
| bDrawingLegendView | true if drawing sample for legend view |
| void GRE::SCRIPTCONTEXT_STYLE::SetSampleRect |
( |
const DRECT2D & |
rect |
) |
[inline] |
Sets the value of the sample rectangle.
The documentation for this class was generated from the following file: