![]() |
VR-Forces 4.0.4 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 () |
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) |
QT DRAW includes.
Draws polygon symbols in a number of different ways
| virtual DtPolygonDrawer::~DtPolygonDrawer | ( | ) | [virtual] |
| DtPolygonDrawer::DtPolygonDrawer | ( | const DtPolygonDrawer & | orig | ) | [private] |
| 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] |
int DtPolygonDrawer::myPenThickness [protected] |
bool DtPolygonDrawer::myOverridePolygonStyle [protected] |
Qt::BrushStyle DtPolygonDrawer::myPatternStyle [protected] |
bool DtPolygonDrawer::myOverridePatternStyle [protected] |
Qt::PenStyle DtPolygonDrawer::myPenStyle [protected] |
bool DtPolygonDrawer::myPenStyleOverride [protected] |