![]() |
Qt 6.x
The Qt SDK
|
Windows Native image. More...
#include <qwindowsnativeimage_p.h>
Public Member Functions | |
QWindowsNativeImage (int width, int height, QImage::Format format) | |
~QWindowsNativeImage () | |
int | width () const |
int | height () const |
QImage & | image () |
const QImage & | image () const |
HDC | hdc () const |
Static Public Member Functions | |
static QImage::Format | systemFormat () |
Windows Native image.
Note that size can be 0 (widget autotests with zero size), which causes CreateDIBSection() to fail.
Definition at line 25 of file qwindowsnativeimage_p.h.
QWindowsNativeImage::QWindowsNativeImage | ( | int | width, |
int | height, | ||
QImage::Format | format | ||
) |
Definition at line 76 of file qwindowsnativeimage.cpp.
References createDIB(), QImage::paintEngine(), Q_ASSERT, QPaintEngine::Raster, and QPaintEngine::type().
QWindowsNativeImage::~QWindowsNativeImage | ( | ) |
Definition at line 94 of file qwindowsnativeimage.cpp.
|
inline |
Definition at line 40 of file qwindowsnativeimage_p.h.
Referenced by QWindowsBackingStore::flush(), and QWindowsBackingStore::getDC().
|
inline |
Definition at line 35 of file qwindowsnativeimage_p.h.
|
inline |
Definition at line 37 of file qwindowsnativeimage_p.h.
Referenced by QWindowsBackingStore::beginPaint(), QWindowsBackingStore::flush(), QWindowsBackingStore::paintDevice(), QWindowsBackingStore::resize(), QWindowsBackingStore::scroll(), and QWindowsBackingStore::toImage().
|
inline |
Definition at line 38 of file qwindowsnativeimage_p.h.
|
static |
Definition at line 106 of file qwindowsnativeimage.cpp.
References QImage::Format_RGB16, and QImage::Format_RGB32.
Referenced by QWindowsFontEngine::alphaMapForGlyph(), and QWindowsBackingStore::resize().
|
inline |
Definition at line 34 of file qwindowsnativeimage_p.h.