QwtVectorFieldThinArrow(3)

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

✨ QwtVectorFieldThinArrow(3) ✨

Okay bestie, so this one is a page from the Qwt User's Guide manual, and it's all about QwtVectorFieldThinArrow β€” literally the skinniest, most line-based little arrow in the vector field game πŸ’…


🌸 NAME 🌸

QwtVectorFieldThinArrow β€” bestie, that's the whole name, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <qwt_vectorfield_symbol.h>

So first things first, it inherits QwtVectorFieldSymbol πŸ‘‘ β€” that's its parent class, its main character origin story.

πŸ’– Public Member Functions πŸ’–

  • QwtVectorFieldThinArrow (qreal headWidth=6.0) β€” Constructor, aka the birth of the arrow ✨
  • virtual ~QwtVectorFieldThinArrow () override β€” Destructor, aka the graceful exit 😭
  • virtual void setLength (qreal length) override β€” sets the length, periodt
  • virtual qreal length () const override β€” tells you the length, no cap
  • 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 an arrow implementation that only used lines β€” like, the whole aesthetic is lines, with optionally a filled arrow or only lines. It's giving minimalist icon energy πŸ¦‹

For the record, this is Definition at line 81 of file qwt_vectorfield_symbol.h πŸ“

πŸ’œ Constructor & Destructor Documentation πŸ’œ

πŸ“ QwtVectorFieldThinArrow::QwtVectorFieldThinArrow (qreal headWidth = 6.0)

Constructor πŸŽ€ And listen β€” the length is initialized by headWidth + 4 ✨

Parameters

  • headWidth β€” Width of the triangular head

See also

  • setLength()
Definition at line 128 of file qwt_vectorfield_symbol.cpp πŸ“

πŸ’€ QwtVectorFieldThinArrow::~QwtVectorFieldThinArrow () [override], [virtual]

Destructor 😭 the end of an era.

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

⭐ Member Function Documentation ⭐

🌸 qreal QwtVectorFieldThinArrow::length () const [override], [virtual]

Returns

  • length of the symbol/arrow πŸ“

See also

  • setLength()

Implements QwtVectorFieldSymbol.

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

🎨 void QwtVectorFieldThinArrow::paint (QPainter * ) const [override], [virtual]

Draw the symbol/arrow πŸ–ŒοΈβœ¨ literally its whole job.

Implements QwtVectorFieldSymbol.

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

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

Set the length of the symbol/arrow πŸ“

See also

  • length()

Implements QwtVectorFieldSymbol.

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

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Qwt User's Guide from the source code πŸ€–βœ¨ no cap, the robots wrote this one.


πŸ’Œ Okay that's the whole page bestie! Big slay, iconic, 10/10 documentation. Signing off from the Qwt User's Guide, QwtVectorFieldThinArrow(3) β€” love u, bye! πŸ«ΆπŸŒΈπŸ’–
πŸ“¦ where this page comes from