VR-Forces 4.0.4 Class Documentation
Public Member Functions | Private Member Functions
DtBoxSymbol Class Reference

Symbols representing enclosed boxed areas. More...

Inheritance diagram for DtBoxSymbol:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtBoxSymbol (DtSymbolDrawer &drawer)
 Constructor.
 DtBoxSymbol (DtNullDrawer &drawer)
 Constructor.
 DtBoxSymbol (const DtBoxSymbol &orig)
 Copy Constructor.
virtual ~DtBoxSymbol ()
 Destructor.
virtual DtSymbolclone () const
 Create a clone of this symbol.
virtual bool setAndCalculatePoint (int iIndex, const QPoint &pnt)
 Returns true to signal to redo any kind of label layout.
virtual bool adjustPoints (QPolygon &pnts, bool constrain)
 Adjusts the list of points to match the box we need.
virtual bool setAndCalculatePoint (int iIndex, const DtPoint &pnt, QVector< DtPoint > *list)
 No-op.
virtual bool keepAspectRatio () const
 Returns true if all points need to be kept in line. By default, returns false.

Private Member Functions

 DtBoxSymbol ()
 Not implemented. Private to ensure it is only constructed with a drawer.

Detailed Description

Symbols representing enclosed boxed areas.


Constructor & Destructor Documentation

Constructor.

Constructor.

Copy Constructor.

virtual DtBoxSymbol::~DtBoxSymbol ( ) [virtual]

Destructor.

DtBoxSymbol::DtBoxSymbol ( ) [private]

Not implemented. Private to ensure it is only constructed with a drawer.


Member Function Documentation

virtual DtSymbol* DtBoxSymbol::clone ( ) const [virtual]

Create a clone of this symbol.

Reimplemented from DtPolygonSymbol.

virtual bool DtBoxSymbol::setAndCalculatePoint ( int  iIndex,
const QPoint &  pnt 
) [virtual]

Returns true to signal to redo any kind of label layout.

Reimplemented from DtLineSymbol.

virtual bool DtBoxSymbol::adjustPoints ( QPolygon &  pnts,
bool  constrain 
) [virtual]

Adjusts the list of points to match the box we need.

Reimplemented from DtSymbol.

virtual bool DtBoxSymbol::setAndCalculatePoint ( int  iIndex,
const DtPoint pnt,
QVector< DtPoint > *  list 
) [virtual]

No-op.

Reimplemented from DtLineSymbol.

virtual bool DtBoxSymbol::keepAspectRatio ( ) const [virtual]

Returns true if all points need to be kept in line. By default, returns false.

Reimplemented from DtLineSymbol.


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)