xlang v5.1 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QPaintDevice类 参考
类 QPaintDevice 继承关系图:
Inheritance graph
QPaintDevice 的协作图:
Collaboration graph

结构体

enum  PaintDeviceMetric
 

Public 成员函数

额外继承的成员函数

详细描述

在文件 QPaintDevice.xcsm 第 5 行定义.

成员函数说明

◆ colorCount()

int colorCount ( )

在文件 QPaintDevice.xcsm 第 43 行定义.

43{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET,PaintDeviceMetric.PdmNumColors); }

◆ depth()

int depth ( )

在文件 QPaintDevice.xcsm 第 44 行定义.

44{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET,PaintDeviceMetric.PdmDepth); }

◆ devicePixelRatio()

int devicePixelRatio ( )

在文件 QPaintDevice.xcsm 第 39 行定义.

39{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET, PaintDeviceMetric.PdmDevicePixelRatio); }

◆ devicePixelRatioF()

double devicePixelRatioF ( )

在文件 QPaintDevice.xcsm 第 40 行定义.

40{ return QtXnl.widget_get_double_value(nativehandle, Constant.PAINTDEVICEMETRICGETPRF); }

◆ devicePixelRatioFScale()

double devicePixelRatioFScale ( )

在文件 QPaintDevice.xcsm 第 41 行定义.

41{ return QtXnl.widget_get_double_value(nativehandle, Constant.PAINTDEVICEPRFS);}

◆ devType()

int devType ( )

被 QPrinter 重载.

在文件 QPaintDevice.xcsm 第 22 行定义.

22 {
23 return QtXnl.widget_get_int_value(nativehandle, Constant.PAINTDEVICETYPE);
24 }

◆ height()

int height ( )

在文件 QPaintDevice.xcsm 第 32 行定义.

32{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET, PaintDeviceMetric.PdmHeight); }

◆ heightMM()

int heightMM ( )

在文件 QPaintDevice.xcsm 第 34 行定义.

34{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET, PaintDeviceMetric.PdmHeightMM); }

◆ logicalDpiX()

int logicalDpiX ( )

在文件 QPaintDevice.xcsm 第 35 行定义.

35{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET, PaintDeviceMetric.PdmDpiX); }

◆ logicalDpiY()

int logicalDpiY ( )

在文件 QPaintDevice.xcsm 第 36 行定义.

36{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET, PaintDeviceMetric.PdmDpiY); }

◆ paintingActive()

bool paintingActive ( )

在文件 QPaintDevice.xcsm 第 26 行定义.

26 {
27 return QtXnl.widget_get_bool_value(nativehandle, Constant.PAINTDEVICEACTIVE);
28 }

◆ physicalDpiX()

int physicalDpiX ( )

在文件 QPaintDevice.xcsm 第 37 行定义.

37{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET, PaintDeviceMetric.PdmPhysicalDpiX); }

◆ physicalDpiY()

int physicalDpiY ( )

在文件 QPaintDevice.xcsm 第 38 行定义.

38{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET, PaintDeviceMetric.PdmPhysicalDpiY); }

◆ width()

int width ( )

在文件 QPaintDevice.xcsm 第 31 行定义.

31{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET, PaintDeviceMetric.PdmWidth); }

◆ widthMM()

int widthMM ( )

在文件 QPaintDevice.xcsm 第 33 行定义.

33{ return QtXnl.core_getintlong(nativehandle, Constant.PAINTDEVICEMETRICGET, PaintDeviceMetric.PdmWidthMM); }