VR-Forces 4.1 Class Documentation
multiLineDrawer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: multiLineDrawer.h,v $ $Revision: 1.13 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtMultiLineDrawer_H_
13 #define DtMultiLineDrawer_H_
14 
17 #include "symbology/lineSymbol.h"
18 
19 class DtSymbol;
20 class DtCenterPoint;
21 
23 #include <QtCore/QCache>
24 #include <QtGui/QPixmap>
25 
29 
31 
33 {
34 public:
36  virtual ~DtMultiLineDrawer();
37 
42  virtual bool draw( QPainter& paint,
43  const DtSymbol * const symbol ) const;
44 
47  virtual QSize calcBBox( const DtSymbol * const symbol ) const;
48 
49  static DtSymbolDrawer* create();
50 
51 protected:
52  virtual void drawThickArrow(QPainterPath& path, QPainter & paint,
53  const DtLineSymbol * const arrowSymbol,
54  bool axisTwist = false) const;
55  virtual void drawDoubleThickArrow(QPainterPath& path, QPainter & paint,
56  const DtLineSymbol * const arrowSymbol ) const;
57  virtual void drawFeintArrow( QPainterPath& path, QPainter & paint,
58  const DtLineSymbol * const arrowSymbol ) const;
59 
60  virtual QPolygon getThickArrowPoints(
61  const DtLineSymbol * const arrowSymbol, int& numCount) const;
62 
63 private:
68 
69 };
70 
71 #endif

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)