- bookworm 6.1.4-2
- testing 6.1.4-2
- unstable 6.1.4-2
- experimental 6.2.0-1
QwtAlphaColorMap(3) | Qwt User's Guide | QwtAlphaColorMap(3) |
NAME¶
QwtAlphaColorMap - QwtAlphaColorMap varies the alpha value of a color.
SYNOPSIS¶
#include <qwt_color_map.h>
Inherits QwtColorMap.
Public Member Functions¶
QwtAlphaColorMap (const QColor &=QColor(Qt::gray))
virtual ~QwtAlphaColorMap ()
Destructor. void setColor (const QColor &)
QColor color () const
virtual QRgb rgb (const QwtInterval &, double value) const
Map a value of a given interval into a alpha value.
Additional Inherited Members¶
Detailed Description¶
QwtAlphaColorMap varies the alpha value of a color.
Constructor & Destructor Documentation¶
QwtAlphaColorMap::QwtAlphaColorMap (const QColor & color = QColor( Qt::gray ))¶
Constructor
Parameters:
Member Function Documentation¶
QColor QwtAlphaColorMap::color () const¶
Returns:
See also:
QRgb QwtAlphaColorMap::rgb (const QwtInterval & interval, double value) const [virtual]¶
Map a value of a given interval into a alpha value. alpha := (value - interval.minValue()) / interval.width();
Parameters:
value Value to map into a RGB value
Returns:
Implements QwtColorMap.
void QwtAlphaColorMap::setColor (const QColor & color)¶
Set the color
Parameters:
See also:
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |