|
QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
|
QwtInterval-based convenience wrappers for QwtColorMap. 更多...
函数 | |
| QRgb | rgb (const QwtColorMap &map, const QwtInterval &interval, double value) |
| Map a value of a given interval into a RGB value. | |
| uint | colorIndex (const QwtColorMap &map, int numColors, const QwtInterval &interval, double value) |
| Map a value of a given interval into a color index. | |
| QColor | color (const QwtColorMap &map, const QwtInterval &interval, double value) |
| Map a value of a given interval into a QColor. | |
QwtInterval-based convenience wrappers for QwtColorMap.
These inline functions provide backward-compatible QwtInterval overloads for the color map methods. The core QwtColorMap uses (vMin, vMax, value) signatures to avoid depending on QwtInterval.