#include <qpaintdevice.h>
|
enum | PaintDeviceMetric {
PdmWidth = 1
, PdmHeight
, PdmWidthMM
, PdmHeightMM
,
PdmNumColors
, PdmDepth
, PdmDpiX
, PdmDpiY
,
PdmPhysicalDpiX
, PdmPhysicalDpiY
, PdmDevicePixelRatio
, PdmDevicePixelRatioScaled
} |
|
Definition at line 53 of file qpaintdevice.h.
◆ PaintDeviceMetric
Enumerator |
---|
PdmWidth | |
PdmHeight | |
PdmWidthMM | |
PdmHeightMM | |
PdmNumColors | |
PdmDepth | |
PdmDpiX | |
PdmDpiY | |
PdmPhysicalDpiX | |
PdmPhysicalDpiY | |
PdmDevicePixelRatio | |
PdmDevicePixelRatioScaled | |
Definition at line 56 of file qpaintdevice.h.
◆ ~QPaintDevice()
QPaintDevice::~QPaintDevice |
( |
| ) |
|
|
virtual |
◆ QPaintDevice()
◆ colorCount()
int QPaintDevice::colorCount |
( |
| ) |
const |
|
inline |
◆ depth()
int QPaintDevice::depth |
( |
| ) |
const |
|
inline |
◆ devicePixelRatio()
qreal QPaintDevice::devicePixelRatio |
( |
| ) |
const |
|
inline |
◆ devicePixelRatioF()
qreal QPaintDevice::devicePixelRatioF |
( |
| ) |
const |
|
inline |
◆ devicePixelRatioFScale()
static qreal QPaintDevice::devicePixelRatioFScale |
( |
| ) |
|
|
inlinestatic |
◆ devType()
int QPaintDevice::devType |
( |
| ) |
const |
|
inlinevirtual |
◆ height()
int QPaintDevice::height |
( |
| ) |
const |
|
inline |
◆ heightMM()
int QPaintDevice::heightMM |
( |
| ) |
const |
|
inline |
◆ initPainter()
◆ logicalDpiX()
int QPaintDevice::logicalDpiX |
( |
| ) |
const |
|
inline |
◆ logicalDpiY()
int QPaintDevice::logicalDpiY |
( |
| ) |
const |
|
inline |
◆ metric()
Reimplemented in QOpenGLWidget, QOpenGLPaintDevice, QWidget, QPrinter, QPixmap, CustomWidget, DummyPaintEngine, QWindowsDirect2DPaintDevice, QOpenGLWindow, QRasterWindow, QPaintDeviceWindow, QImage, QPicture, QFakeDevice, and QPdfWriter.
Definition at line 85 of file qpaintdevice.cpp.
◆ paintEngine()
Implemented in TestPixmap, DummyPaintEngine, Picture, QWidget, QPrinter, QWindowsDirect2DPaintDevice, QOpenGLWidget, QOpenGLPaintDevice, QPdfWriter, QPixmap, QPicture, QFakeDevice, and QImage.
◆ paintingActive()
bool QPaintDevice::paintingActive |
( |
| ) |
const |
|
inline |
◆ physicalDpiX()
int QPaintDevice::physicalDpiX |
( |
| ) |
const |
|
inline |
◆ physicalDpiY()
int QPaintDevice::physicalDpiY |
( |
| ) |
const |
|
inline |
◆ redirected()
◆ sharedPainter()
QPainter * QPaintDevice::sharedPainter |
( |
| ) |
const |
|
protectedvirtual |
◆ width()
int QPaintDevice::width |
( |
| ) |
const |
|
inline |
◆ widthMM()
int QPaintDevice::widthMM |
( |
| ) |
const |
|
inline |
◆ QFontEngineMac
friend class QFontEngineMac |
|
friend |
◆ QPainter
◆ QPainterPrivate
◆ qt_paint_device_metric
◆ QX11PaintEngine
◆ painters
The documentation for this class was generated from the following files: