QwtAlphaColorMap(3)
๐ 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()QColorcolor () constvirtual QwtColorMap *copy () constQwtAlphaColorMap &operator= (const QwtAlphaColorMap &)virtual QRgbrgb (const QwtDoubleInterval &, double value) constvoidsetColor (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 valuesvalueโ 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
- epel 9: qwt5-qt5-devel 5.2.3a-12.20210522gita2b11e3.el9 ยท LGPLv2+ with exceptions
- fedora 43: qwt5-qt5-devel 5.2.3a-22.20210522gita2b11e3.fc43 ยท LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 43: qwt5-qt5-devel 5.2.3a-22.20210522gita2b11e3.fc43 ยท LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 44: qwt5-qt5-devel 5.2.3a-23.20210522gita2b11e3.fc44 ยท LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 44: qwt5-qt5-devel 5.2.3a-23.20210522gita2b11e3.fc44 ยท LGPL-2.1-or-later WITH Qwt-exception-1.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms