VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtPolygonDrawer Class Reference

QT DRAW includes. More...

Inheritance diagram for DtPolygonDrawer:
Inheritance graph
[legend]

List of all members.

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

Static Public Member Functions

static DtSymbolDrawer * create ()

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)
DtPolygonDrawer & operator= (const DtPolygonDrawer &orig)

Detailed Description

QT DRAW includes.

Draws polygon symbols in a number of different ways


Constructor & Destructor Documentation

virtual DtPolygonDrawer::~DtPolygonDrawer ( ) [virtual]

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::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]
DtPolygonDrawer& DtPolygonDrawer::operator= ( const DtPolygonDrawer &  orig) [private]

Member Data Documentation

Qt::BrushStyle DtPolygonDrawer::myPatternStyle [protected]
Qt::PenStyle DtPolygonDrawer::myPenStyle [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)