Arrow implementation that draws a filled arrow with outline, using a triangular head of constant width.
More...
#include <qwt_vectorfield_symbol.h>
|
| | QwtVectorFieldArrow (qreal headWidth=6.0, qreal tailWidth=1.0) |
| | Constructor.
|
| |
|
virtual | ~QwtVectorFieldArrow () QWT_OVERRIDE |
| | Destructor.
|
| |
| virtual void | setLength (qreal length) QWT_OVERRIDE |
| | Set the length of the symbol/arrow.
|
| |
| virtual qreal | length () const QWT_OVERRIDE |
| |
| virtual void | paint (QPainter *) const QWT_OVERRIDE |
| | Draw the symbol/arrow.
|
| |
|
| QwtVectorFieldSymbol () |
| | Constructor.
|
| |
|
virtual | ~QwtVectorFieldSymbol () |
| | Destructor.
|
| |
Arrow implementation that draws a filled arrow with outline, using a triangular head of constant width.
◆ QwtVectorFieldArrow()
| QwtVectorFieldArrow::QwtVectorFieldArrow |
( |
qreal |
headWidth = 6.0, |
|
|
qreal |
tailWidth = 1.0 |
|
) |
| |
Constructor.
The length is initialized by headWidth + 4
- Parameters
-
| headWidth | Width of the triangular head |
| tailWidth | Width of the arrow tail |
- See also
- setLength()
◆ length()
| qreal QwtVectorFieldArrow::length |
( |
| ) |
const |
|
virtual |
◆ paint()
| void QwtVectorFieldArrow::paint |
( |
QPainter * |
| ) |
const |
|
virtual |
◆ setLength()
| void QwtVectorFieldArrow::setLength |
( |
qreal |
length | ) |
|
|
virtual |
The documentation for this class was generated from the following files: