StupidBeauty
Read times:3188Posted at: - no title specified

Qt5.7文档翻译:QColormap类,QColormap Class

QColormap 类,将设备无关的颜色值(QColor)映射成设备相关的像素值。 详细说明……

头文件:

#include <QColormap>

qmake指令:

QT += widgets

详细说明

QColormap 类,将设备无关的颜色值(QColor)映射成设备相关的像素值。

成员函数文档

const  QColor  QColormap:: colorAt ( uint pixel ) const

返回针对像素值 pixel 的颜色值( QColor )。

参考 pixel ()。

int QColormap::depth() const

 返回设备的位深。

参考 size ()。

[static] QColormap  QColormap:: instance ( int screen  = -1)

返回指定屏幕 screen 的颜色映射图(colormap)。如果 screen 的值是-1,那么,这个函数会返回默认屏幕的颜色映射图。

uint  QColormap:: pixel (const  QColor  & color ) const

返回针对颜色值color 的设备相关的像素值。

参考 colorAt ()。

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands