Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwindowsnativeimage.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

#include "qwindowsnativeimage_p.h"
#include <QtGui/private/qpaintengine_p.h>
#include <QtGui/private/qpaintengine_raster_p.h>
+ Include dependency graph for qwindowsnativeimage.cpp:

Go to the source code of this file.

Classes

struct  BITMAPINFO_MASK
 

Functions

static HDC createDC ()
 
static HBITMAP createDIB (HDC hdc, int width, int height, QImage::Format format, uchar **bitsIn)
 

Function Documentation

◆ createDC()

static HDC createDC ( )
inlinestatic

Definition at line 29 of file qwindowsnativeimage.cpp.

References Q_ASSERT.

◆ createDIB()

static HBITMAP createDIB ( HDC hdc,
int width,
int height,
QImage::Format format,
uchar ** bitsIn )
inlinestatic

Definition at line 38 of file qwindowsnativeimage.cpp.

References QImage::Format_RGB16, Q_UNLIKELY, and qFatal.

Referenced by QWindowsNativeImage::QWindowsNativeImage().

+ Here is the caller graph for this function: