Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwindowsnativeimage.cpp File Reference
#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 BITMAPINFO_MASK::blueMask, BITMAPINFO_MASK::bmiHeader, QImage::Format_RGB16, BITMAPINFO_MASK::greenMask, Q_UNLIKELY, qFatal, and BITMAPINFO_MASK::redMask.

Referenced by QWindowsNativeImage::QWindowsNativeImage().

+ Here is the caller graph for this function: