GRE::SCRIPTCONTEXT_STYLE Class Reference

#include <gre/scriptcontext.h>

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

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 (  ) 

Constructor.

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

Destructor.


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]

Reimplemented from GRE::SCRIPTCONTEXT_DRAW.

ERRVALUE GRE::SCRIPTCONTEXT_STYLE::Evaluate ( int  segment,
RVC::CADELEMENT Element,
const RVC::STYLE StyleObj,
const SIMPLE_ARRAY< DPOINT2D > *  pt = 0,
bool  bDrawingLegendView = false 
) const
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
ERRVALUE GRE::SCRIPTCONTEXT_STYLE::Evaluate ( int  segment,
INT32  ElemNum,
const RVC::STYLE StyleObj,
POLYSTYLE style,
const SIMPLE_ARRAY< DPOINT2D > *  pt = 0,
bool  bDrawingLegendView = false 
) const
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
ERRVALUE GRE::SCRIPTCONTEXT_STYLE::Evaluate ( int  segment,
INT32  ElemNum,
const RVC::STYLE StyleObj,
LINESTYLE style,
const SIMPLE_ARRAY< DPOINT2D > *  pt = 0,
bool  bDrawingLegendView = false 
) const
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
ERRVALUE GRE::SCRIPTCONTEXT_STYLE::Evaluate ( int  segment,
INT32  ElemNum,
const RVC::STYLE StyleObj,
POINTSTYLE style,
const DPOINT2D pt = 0,
bool  bDrawingLegendView = false 
) const
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:

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