QwtVectorFieldSymbol(3)
π QwtVectorFieldSymbol(3) π
hey bestie π welcome to the QwtVectorFieldSymbol(3) page from the Library Functions Manual β this is the whole class vibe, no cap.
π NAME π
QwtVectorFieldSymbol β the abstract arrow-drawing interface, periodt. π
β¨ SYNOPSIS β¨
#include <qwt_vectorfield_symbol.h>
Inherited by QwtVectorFieldArrow, and QwtVectorFieldThinArrow.
πΈ Public Member Functions πΈ
QwtVectorFieldSymbol ()β Constructor. π«Άvirtual ~QwtVectorFieldSymbol ()β Destructor. πvirtual void setLength (qreal length)=0β pure virtual, bestie.virtual qreal length () const =0β also pure virtual.virtual void paint (QPainter *) const =0β Draw the symbol/arrow. π¨
π¦ Detailed Description π¦
Okay so this class defines the abstract interface for arrow drawing routines. Iconic behavior, honestly. β¨
The arrow needs to be drawn horizontally with the arrow tip at coordinate 0,0. That's the rule, bestie. π
arrowLength() shall return the entire length of the arrow β it's needed to translate the arrow for tail/centered alignment. setArrowLength() defines arror length in pixels (screen coordinates). It can be implemented to adjust other geometric properties such as the head size and width of the arrow. It is always called before paint(). Lowkey important. π
A new arrow implementation can be set with QwtPlotVectorField::setArrowSymbol(), whereby ownership is transferred to the plot field. Cute and powerful. π¦
Definition at line 32 of file qwt_vectorfield_symbol.h. π
π οΈ Constructor & Destructor Documentation π οΈ
π QwtVectorFieldSymbol::QwtVectorFieldSymbol ()
Constructor. The birth of the symbol, fr fr. π±
Definition at line 16 of file qwt_vectorfield_symbol.cpp.
π QwtVectorFieldSymbol::~QwtVectorFieldSymbol () [virtual]
Destructor. It's giving cleanup era. π§Ή
Definition at line 21 of file qwt_vectorfield_symbol.cpp.
π Member Function Documentation π
π virtual qreal QwtVectorFieldSymbol::length () const [pure virtual]
Returns: length of the symbol/arrow. Yes bestie, that's the whole answer. π
See also setLength().
Implemented in QwtVectorFieldArrow, and QwtVectorFieldThinArrow.
π¨ virtual void QwtVectorFieldSymbol::paint (QPainter * ) const [pure virtual]
Draw the symbol/arrow. Main character energy only. π
Implemented in QwtVectorFieldArrow, and QwtVectorFieldThinArrow.
π virtual void QwtVectorFieldSymbol::setLength (qreal length) [pure virtual]
Set the length of the symbol/arrow. Slay. β¨
See also length().
Implemented in QwtVectorFieldArrow, and QwtVectorFieldThinArrow.
β¨ Author β¨
Generated automatically by Doxygen for Qwt User's Guide from the source code. The robots did this one, not me. π€π
π and that's the page, bestie β sign-off situation: Qwt User's Guide and QwtVectorFieldSymbol(3), with no date listed on this footer, so don't @ me. mwah πβ¨
π¦ where this page comes from
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms