QwtAlphaColorMap(3) | Qwt User's Guide | QwtAlphaColorMap(3) |
NAME¶
QwtAlphaColorMap -
SYNOPSIS¶
#include <qwt_color_map.h>
Inherits QwtColorMap.
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¶
Detailed Description¶
QwtAlphaColorMap variies the alpha value of a color.
Constructor & Destructor Documentation¶
QwtAlphaColorMap::QwtAlphaColorMap (const QColor &color = QColor(Qt::gray))¶
Constructor
Parameters:
QwtAlphaColorMap::QwtAlphaColorMap (const QwtAlphaColorMap &other)¶
Copy constructor
Parameters:
Member Function Documentation¶
QColor QwtAlphaColorMap::color () const¶
Returns:
See also:
QwtAlphaColorMap & QwtAlphaColorMap::operator= (const QwtAlphaColorMap &other)¶
Assignment operator
Parameters:
Returns:
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();
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.
Tue Nov 20 2012 | Version 5.2.3 |