![]() |
VR-Forces 4.1 Class Documentation
|
class DtNullDrawer: More...

Public Member Functions | |
| virtual | ~DtNullDrawer () |
| DtNullDrawer () | |
| virtual bool | draw (QPainter &paint, const DtSymbol *const symbol) const |
| virtual QSize | calcBBox (const DtSymbol *const symbol) const |
Public Member Functions inherited from DtSymbolDrawer | |
| DtSymbolDrawer () | |
| virtual | ~DtSymbolDrawer () |
| virtual bool | doDrawing (QPainter &paint, const DtSymbol *const symbol) |
| Initializes any drawing information and then calls internal draw() method. | |
| 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 () |
Static Public Member Functions inherited from DtSymbolDrawer | |
| static double | drawScalingFactor () |
| Because of potential size difference in printer and screen metrics, a scaling factor can be applied to any drawing that relies on screen coordinates (such as arrow or bitmap size). | |
| static void | setDrawScalingFactor (double d) |
| static void | setHighlightColor (const QColor &color) |
| static const QColor & | highlightColor () |
Protected Member Functions | |
| DtNullDrawer (const DtNullDrawer &orig) | |
| Protected since not used. Prefer class to be a singleton. | |
| DtNullDrawer & | operator= (const DtNullDrawer &orig) |
| Protected since not used. Prefer class to be a singleton. | |
Protected Member Functions inherited from DtSymbolDrawer | |
| DtSymbolDrawer (const DtSymbolDrawer &orig) | |
| Protected so not used. Conceptually class is a singleton. | |
| DtSymbolDrawer & | operator= (const DtSymbolDrawer &orig) |
| Protected so not used. Conceptually class is a singleton. | |
Additional Inherited Members | |
Static Protected Attributes inherited from DtSymbolDrawer | |
| static double | gDrawScalingFactor |
| static QColor | theHighlightColor |
class DtNullDrawer:
Concrete implementation of DtSymbolDrawer which does nothing. Predominantly intended for testing symbology.
This class has no dependency on qt drawing routines. Thus if (when) we change from Qt to another drawing package, none of the symbol classes will change, just the symboldraw derived classes.
|
virtual |
| DtNullDrawer::DtNullDrawer | ( | ) |
|
protected |
Protected since not used. Prefer class to be a singleton.
Implements DtSymbolDrawer.
|
virtual |
Implements DtSymbolDrawer.
|
static |
|
protected |
Protected since not used. Prefer class to be a singleton.