VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtPolygonDrawer Class Reference

QT DRAW includes. More...

Inheritance diagram for DtPolygonDrawer:
Inheritance graph
[legend]

Public Member Functions

 DtPolygonDrawer ()
virtual ~DtPolygonDrawer ()
virtual bool draw (QPainter &paint, const DtSymbol *const symbol) const
virtual QSize calcBBox (const DtSymbol *const symbol) const
 Calculate the drawn size of this symbol.
virtual void setPenThickness (int thickness)
 Set the thickness of the pen when drawing the lines;.
virtual void setPolygonStyle (DtPolygonSymbol::DtPolygonStyle style)
virtual void clearPolygonStyle ()
virtual void setPatternStyle (Qt::BrushStyle style)
virtual void clearPatternStyle ()
virtual void setPenStyle (Qt::PenStyle style)
 Sets the pen style to be this style regardless of what is set in the symbol.
virtual void clearPenStyleOverride ()
- Public Member Functions inherited from DtBaseSymbolDrawer
 DtBaseSymbolDrawer ()
virtual ~DtBaseSymbolDrawer ()
virtual bool doDrawing (QPainter &paint, const DtSymbol *const symbol)
 ! Initializes any drawing information and then calls internal draw() method
- Public Member Functions inherited from DtSymbolDrawer
 DtSymbolDrawer ()
virtual ~DtSymbolDrawer ()
virtual QRect calcBRect (const DtSymbol *const symbol) const
virtual bool forceUpdate (const DtSymbol *const symbol) const
 Override if your class wants to force a redraw of this item regardless of performance enhancement state.
virtual bool endTransparentDraw (QPainter &paint, const DtSymbol *const symbol) const
 Called after transparent draw is finished if symbol wants to draw transparently.
virtual void processHiddenSymbolAction (QPainter &paint, const DtSymbol *const symbol)
 Routine to perform even when symbol is hidden.

Static Public Member Functions

static DtSymbolDrawercreate ()

Protected Attributes

int myPenThickness
DtPolygonSymbol::DtPolygonStyle myPolygonStyle
bool myOverridePolygonStyle
Qt::BrushStyle myPatternStyle
bool myOverridePatternStyle
Qt::PenStyle myPenStyle
bool myPenStyleOverride

Private Member Functions

 DtPolygonDrawer (const DtPolygonDrawer &orig)
DtPolygonDraweroperator= (const DtPolygonDrawer &orig)

Additional Inherited Members

- Protected Member Functions inherited from DtBaseSymbolDrawer
virtual QRgb opaqueColor () const
 ! Returns color that will be ignored during transparent draw
- Static Protected Attributes inherited from DtSymbolDrawer
static double gDrawScalingFactor
static QColor theHighlightColor

Detailed Description

QT DRAW includes.

Draws polygon symbols in a number of different ways

Constructor & Destructor Documentation

DtPolygonDrawer::DtPolygonDrawer ( )
virtual DtPolygonDrawer::~DtPolygonDrawer ( )
virtual
DtPolygonDrawer::DtPolygonDrawer ( const DtPolygonDrawer orig)
private

Member Function Documentation

virtual bool DtPolygonDrawer::draw ( QPainter &  paint,
const DtSymbol *const  symbol 
) const
virtual

Implements DtSymbolDrawer.

virtual QSize DtPolygonDrawer::calcBBox ( const DtSymbol *const  symbol) const
virtual

Calculate the drawn size of this symbol.

The symbol must be of a type this drawer can recognize.

Implements DtSymbolDrawer.

virtual void DtPolygonDrawer::setPenThickness ( int  thickness)
virtual

Set the thickness of the pen when drawing the lines;.

virtual void DtPolygonDrawer::setPolygonStyle ( DtPolygonSymbol::DtPolygonStyle  style)
virtual
virtual void DtPolygonDrawer::clearPolygonStyle ( )
virtual
virtual void DtPolygonDrawer::setPatternStyle ( Qt::BrushStyle  style)
virtual
virtual void DtPolygonDrawer::clearPatternStyle ( )
virtual
virtual void DtPolygonDrawer::setPenStyle ( Qt::PenStyle  style)
virtual

Sets the pen style to be this style regardless of what is set in the symbol.

To turn this off, call clearPenStyleOverride()

virtual void DtPolygonDrawer::clearPenStyleOverride ( )
virtual
static DtSymbolDrawer* DtPolygonDrawer::create ( )
static
DtPolygonDrawer& DtPolygonDrawer::operator= ( const DtPolygonDrawer orig)
private

Member Data Documentation

int DtPolygonDrawer::myPenThickness
protected
DtPolygonSymbol::DtPolygonStyle DtPolygonDrawer::myPolygonStyle
protected
bool DtPolygonDrawer::myOverridePolygonStyle
protected
Qt::BrushStyle DtPolygonDrawer::myPatternStyle
protected
bool DtPolygonDrawer::myOverridePatternStyle
protected
Qt::PenStyle DtPolygonDrawer::myPenStyle
protected
bool DtPolygonDrawer::myPenStyleOverride
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)