|
Qwt User's Guide
6.2.0
|
#include <qwt_vectorfield_symbol.h>
Public Member Functions | |
| QwtVectorFieldArrow (qreal headWidth=6.0, qreal tailWidth=1.0) | |
| Constructor. More... | |
| virtual | ~QwtVectorFieldArrow () override |
| Destructor. | |
| virtual void | setLength (qreal length) override |
| virtual qreal | length () const override |
| virtual void | paint (QPainter *) const override |
| Draw the symbol/arrow. | |
Public Member Functions inherited from QwtVectorFieldSymbol | |
| QwtVectorFieldSymbol () | |
| Constructor. | |
| virtual | ~QwtVectorFieldSymbol () |
| Destructor. | |
Arrow implementation that draws a filled arrow with outline, using a triangular head of constant width.
Definition at line 61 of file qwt_vectorfield_symbol.h.
| QwtVectorFieldArrow::QwtVectorFieldArrow | ( | qreal | headWidth = 6.0, |
| qreal | tailWidth = 1.0 |
||
| ) |
Constructor.
The length is initialized by headWidth + 4
| headWidth | Width of the triangular head |
| tailWidth | Width of the arrow tail |
Definition at line 74 of file qwt_vectorfield_symbol.cpp.
|
overridevirtual |
Implements QwtVectorFieldSymbol.
Definition at line 90 of file qwt_vectorfield_symbol.cpp.
|
overridevirtual |
Set the length of the symbol/arrow
Implements QwtVectorFieldSymbol.
Definition at line 85 of file qwt_vectorfield_symbol.cpp.