QwtAlphaColorMap(3)
π NAME π
Okay bestie, welcome to QwtAlphaColorMap(3) from the Library Functions Manual β this is the page for QwtAlphaColorMap, and the whole serve is: QwtAlphaColorMap varies the alpha value of a color. No cap, that's the vibe. π
β¨ SYNOPSIS β¨
The entry ritual, exactly as printed:
#include <qwt_color_map.h>
Inherits QwtColorMap.
π Public Member Functions (main-character lineup) π
QwtAlphaColorMap (const QColor &=QColor(Qt::gray))β Constructor.virtual ~QwtAlphaColorMap ()β Destructor.void setAlphaInterval (int alpha1, int alpha2)β the alpha interval setter, listed right here.int alpha1 () constβ alpha coordinate number one getter.int alpha2 () constβ alpha coordinate number two getter.void setColor (const QColor &)β the color setter.QColor color () constβ the color getter.virtual QRgb rgb (const QwtInterval &, double value) const overrideβ Map a value of a given interval into a alpha value.
π Public Member Functions inherited from QwtColorMap π
QwtColorMap (Format=QwtColorMap::RGB)β Constructor.virtual ~QwtColorMap ()β Destructor.void setFormat (Format)β format setter, listed as-is.virtual uint colorIndex (int numColors, const QwtInterval &interval, double value) constβ Map a value of a given interval into a color index.QColor color (const QwtInterval &, double value) constβ color lookup, listed as-is.virtual QVector< QRgb > colorTable (int numColors) constβ color table, listed as-is.virtual QVector< QRgb > colorTable256 () constβ the 256-entry color table, listed as-is.
π«Ά Additional Inherited Members π«Ά
π Public Types inherited from QwtColorMap π
enum Format { RGB, Indexed }
π Public Attributes inherited from QwtColorMap π
Format const
π¦ DETAILED DESCRIPTION π¦
So like, QwtAlphaColorMap varies the alpha value of a color. That's the whole aesthetic. Definition at line 147 of file qwt_color_map.h.
π CONSTRUCTOR & DESTRUCTOR DOCUMENTATION π
π QwtAlphaColorMap::QwtAlphaColorMap (const QColor & color = QColor( Qt::gray )) [explicit] π
Constructor. The alpha interval is initialized by 0 to 255.
- Parameters:
colorβ Color of the map
- See also:
setColor(),setAlphaInterval()
Definition at line 539 of file qwt_color_map.cpp.
π«Ά QwtAlphaColorMap::~QwtAlphaColorMap () [virtual] π«Ά
Destructor.
Definition at line 547 of file qwt_color_map.cpp.
π MEMBER FUNCTION DOCUMENTATION π
β int QwtAlphaColorMap::alpha1 () const β
- Returns: First alpha coordinate
- See also:
setAlphaInterval()
Definition at line 600 of file qwt_color_map.cpp.
β int QwtAlphaColorMap::alpha2 () const β
- Returns: Second alpha coordinate
- See also:
setAlphaInterval()
Definition at line 609 of file qwt_color_map.cpp.
π¨ QColor QwtAlphaColorMap::color () const π¨
- Returns: the color
- See also:
setColor()
Definition at line 571 of file qwt_color_map.cpp.
π₯ QRgb QwtAlphaColorMap::rgb (const QwtInterval & interval, double value) const [override], [virtual] π₯
Map a value of a given interval into a alpha value.
- Parameters:
intervalβ Range for all valuesvalueβ Value to map into a RGB value
- Returns: RGB value, with an alpha value
- Implements:
QwtColorMap.
Definition at line 622 of file qwt_color_map.cpp.
π void QwtAlphaColorMap::setAlphaInterval (int alpha1, int alpha2) π
Set the interval for the alpha coordinate.
alpha1/alpha2 need to be in the range 0 to 255, where 255 means opaque and 0 means transparent.
π bestie, that range is not a suggestion βalpha1/alpha2need to be in the range0to255, where255means opaque and0means transparent. Periodt.
- Parameters:
alpha1β First alpha coordinatealpha2β Second alpha coordinate
- See also:
alpha1(),alpha2()
Definition at line 587 of file qwt_color_map.cpp.
πΈ void QwtAlphaColorMap::setColor (const QColor & color) πΈ
Set the color.
- Parameters:
colorβ Color
- See also:
color()
Definition at line 558 of file qwt_color_map.cpp.
πΈ AUTHOR πΈ
Generated automatically by Doxygen for Qwt User's Guide from the source code.
π xoxo, your Qwt User's Guide bestie β footer check: source/version is Qwt User's Guide, the page is QwtAlphaColorMap(3), and the date slot is literally not printed here, so that's the whole tea π«Άβ¨
π¦ 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