QwtVectorFieldArrow(3)

πŸ“¦
version 6.3.0 Β· 2 versions
, in alpine 3.24

πŸ’– QwtVectorFieldArrow πŸ’–

okay so bestie, welcome to the QwtVectorFieldArrow(3) page from the Qwt User's Guide β€” this is the whole scoop on the cute little arrow class, and honestly it's giving main character energy in the vector field world πŸŽ€


✨ NAME ✨

QwtVectorFieldArrow β€” literally the arrow class, that's her name, no cap πŸ’…

🌸 SYNOPSIS 🌸

#include <qwt_vectorfield_symbol.h>

She inherits from QwtVectorFieldSymbol 🫢 β€” so all the base-class energy is there too.

πŸ’œ Public Member Functions πŸ’œ

  • QwtVectorFieldArrow (qreal headWidth=6.0, qreal tailWidth=1.0) β€” Constructor.
  • 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.

πŸ¦‹ Detailed Description πŸ¦‹

So this is the arrow implementation that draws a filled arrow with an outline, using a triangular head of constant width ✨. Like, she's an arrow, she's filled, she's outlined, her head stays the same width β€” iconic behavior fr fr.

Definition at line 61 of file qwt_vectorfield_symbol.h. πŸ“

πŸŽ€ Constructor & Destructor Documentation πŸŽ€

🌸 QwtVectorFieldArrow::QwtVectorFieldArrow (qreal headWidth = 6.0, qreal tailWidth = 1.0) 🌸

Constructor πŸ’–. The length is initialized by headWidth + 4 β€” yes bestie, that's the actual math, no cap.

Parameters

  • headWidth β€” Width of the triangular head
  • tailWidth β€” Width of the arrow tail

See also: setLength()

Definition at line 74 of file qwt_vectorfield_symbol.cpp. πŸ“

πŸ’œ QwtVectorFieldArrow::~QwtVectorFieldArrow () [override], [virtual] πŸ’œ

Destructor. She's done, she's logging off, periodt πŸ’…

Definition at line 80 of file qwt_vectorfield_symbol.cpp. πŸ“

⭐ Member Function Documentation ⭐

πŸ¦‹ qreal QwtVectorFieldArrow::length () const [override], [virtual] πŸ¦‹

Returns

  • length of the symbol/arrow πŸ“

See also: setLength()

Implements QwtVectorFieldSymbol.

Definition at line 90 of file qwt_vectorfield_symbol.cpp. πŸ“

πŸ”₯ void QwtVectorFieldArrow::paint (QPainter * ) const [override], [virtual] πŸ”₯

Draw the symbol/arrow ✏️✨ she literally paints herself, obsessed.

Implements QwtVectorFieldSymbol.

Definition at line 95 of file qwt_vectorfield_symbol.cpp. πŸ“

🧚 void QwtVectorFieldArrow::setLength (qreal length) [override], [virtual] 🧚

Set the length of the symbol/arrow πŸ“ β€” you're in charge of how long she is, bestie.

See also: length()

Implements QwtVectorFieldSymbol.

Definition at line 85 of file qwt_vectorfield_symbol.cpp. πŸ“

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for the Qwt User's Guide from the source code πŸ€–πŸ’– like, the robots wrote this one, not me.


and that's the whole page, bestie!! πŸ’–βœ¨πŸŽ€ this was generated for the Qwt User's Guide, and hey β€” don't forget the footer vibes: Qwt User's Guide, QwtVectorFieldArrow(3), slay πŸŒˆπŸ«ΆπŸ’…

πŸ“¦ where this page comes from