QwtAlphaColorMap(3)

๐Ÿ“ฆ version 5.2.3a, in epel 9, fedora 43, fedora 44

๐Ÿ’– NAME ๐Ÿ’–

QwtAlphaColorMap โ€” okay bestie, this is a class from the Qwt User's Guide and the original manpage doesn't give it a one-liner description, so the name is literally justโ€ฆ the name. The real tea comes further down. ๐Ÿซถ


โœจ SYNOPSIS โœจ

#include <qwt_color_map.h>

Inherits QwtColorMap. So yes, it's giving "child class with main character energy" ๐Ÿ’…

๐ŸŽ€ Public Member Functions ๐ŸŽ€

  • QwtAlphaColorMap (const QColor & = QColor(Qt::gray))
  • QwtAlphaColorMap (const QwtAlphaColorMap &)
  • virtual ~QwtAlphaColorMap ()
  • QColor color () const
  • virtual QwtColorMap * copy () const
  • QwtAlphaColorMap & operator= (const QwtAlphaColorMap &)
  • virtual QRgb rgb (const QwtDoubleInterval &, double value) const
  • void setColor (const QColor &)

๐ŸŒธ Additional Inherited Members ๐ŸŒธ

This section exists but the original lists nothing inside it. Empty. Void. A whole vibe of absence. ๐Ÿ™ˆ The inherited stuff from QwtColorMap is just implied, not spelled out here.


๐Ÿฆ‹ Detailed Description ๐Ÿฆ‹

QwtAlphaColorMap variies the alpha value of a color. (Yes, "variies" โ€” that's the original wording, we don't edit, we respect the lore. ๐Ÿ˜ญ)

So likeโ€ฆ the hue stays, the transparency does the talking. Iconic behaviour, honestly. โœจ


๐Ÿ“ Constructor & Destructor Documentation ๐Ÿ“

QwtAlphaColorMap::QwtAlphaColorMap (const QColor &color = QColor(Qt::gray))

Constructor ๐Ÿ’–

Parameters:

  • color โ€” Color of the map

QwtAlphaColorMap::QwtAlphaColorMap (const QwtAlphaColorMap &other)

Copy constructor โ€” it's copying, it's cloning, it's twinning. ๐Ÿ‘ฏ

Parameters:

  • other โ€” Other color map

๐Ÿ‘‘ Member Function Documentation ๐Ÿ‘‘

QColor QwtAlphaColorMap::color () const

Returns:

  • the color

See also:

  • setColor()

QwtAlphaColorMap & QwtAlphaColorMap::operator= (const QwtAlphaColorMap &other)

Assignment operator โ€” the "you are now me" move. ๐Ÿช„

Parameters:

  • other โ€” Other color map

Returns:

  • *this

QRgb QwtAlphaColorMap::rgb (const QwtDoubleInterval &interval, doublevalue) const [virtual]

Map a value of a given interval into a alpha value.

alpha := (value - interval.minValue()) / interval.width();

Look at that formula, she's doing math and she's serving. ๐Ÿงฎโœจ

Parameters:

  • interval โ€” Range for all values
  • value โ€” Value to map into a rgb value

Returns:

  • rgb value, with an alpha value

Implements QwtColorMap.

void QwtAlphaColorMap::setColor (const QColor &color)

Set the color. Simple. Direct. No notes. ๐Ÿ’…

Parameters:

  • color โ€” Color

See also:

  • color()

๐Ÿ’… Author ๐Ÿ’…

Generated automatically by Doxygen for Qwt User's Guide from the source code. Not a human author, just Doxygen doing its little thing, no cap. ๐Ÿค–๐ŸŒธ


And that's the whole page, bestie โ€” Version 5.2.3, Tue Nov 20 2012 ๐ŸŒˆ, straight from the Qwt User's Guide. QwtAlphaColorMap(3) out. Periodt. ๐Ÿ’–โœจ๐ŸŽ€๐Ÿฆ‹
๐Ÿ“ฆ where this page comes from