![]() |
VR-Forces 4.2 Class Documentation
|
QT DRAW includes. More...

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 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) |
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 |
QT DRAW includes.
Draws polygon symbols in a number of different ways
| DtPolygonDrawer::DtPolygonDrawer | ( | ) |
|
virtual |
|
private |
Implements DtSymbolDrawer.
|
virtual |
Calculate the drawn size of this symbol.
The symbol must be of a type this drawer can recognize.
Implements DtSymbolDrawer.
|
virtual |
Set the thickness of the pen when drawing the lines;.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Sets the pen style to be this style regardless of what is set in the symbol.
To turn this off, call clearPenStyleOverride()
|
virtual |
|
static |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |