QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
函数
QwtColorMapCompat 命名空间参考

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.