VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions
DtBaseSymbolDrawer Class Reference

! class DtBaseSymbolDrawer: More...

Inheritance diagram for DtBaseSymbolDrawer:
Inheritance graph
[legend]

Public Member Functions

 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 QSize calcBBox (const DtSymbol *const symbol) const =0
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.
virtual bool draw (QPainter &paint, const DtSymbol *const symbol) const =0

Protected Member Functions

virtual QRgb opaqueColor () const
 ! Returns color that will be ignored during transparent draw
- Protected Member Functions inherited from DtSymbolDrawer
 DtSymbolDrawer (const DtSymbolDrawer &orig)
 Protected so not used. Conceptually class is a singleton.
DtSymbolDraweroperator= (const DtSymbolDrawer &orig)
 Protected so not used. Conceptually class is a singleton.

Private Member Functions

 DtBaseSymbolDrawer (const DtBaseSymbolDrawer &orig)
 ! Not implemented. Class is a singleton.
DtBaseSymbolDraweroperator= (const DtBaseSymbolDrawer &orig)
 ! Not implemented. Class is a singleton.

Additional Inherited Members

- 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 ()
- Static Protected Attributes inherited from DtSymbolDrawer
static double gDrawScalingFactor
static QColor theHighlightColor

Detailed Description

! class DtBaseSymbolDrawer:

Will implement transparent drawing if symbol being drawn has a transparency level.

Constructor & Destructor Documentation

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

! Not implemented. Class is a singleton.

Member Function Documentation

virtual bool DtBaseSymbolDrawer::doDrawing ( QPainter &  paint,
const DtSymbol *const  symbol 
)
virtual

! Initializes any drawing information and then calls internal draw() method

Reimplemented from DtSymbolDrawer.

virtual QRgb DtBaseSymbolDrawer::opaqueColor ( ) const
protectedvirtual

! Returns color that will be ignored during transparent draw

DtBaseSymbolDrawer& DtBaseSymbolDrawer::operator= ( const DtBaseSymbolDrawer orig)
private

! Not implemented. Class is a singleton.


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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)