Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWindowsNativeImage Class Reference

Windows Native image. More...

#include <qwindowsnativeimage_p.h>

Collaboration diagram for QWindowsNativeImage:

Public Member Functions

 QWindowsNativeImage (int width, int height, QImage::Format format)
 ~QWindowsNativeImage ()
int width () const
int height () const
QImageimage ()
const QImageimage () const
HDC hdc () const

Static Public Member Functions

static QImage::Format systemFormat ()

Detailed Description

Windows Native image.

Note that size can be 0 (widget autotests with zero size), which causes CreateDIBSection() to fail.

See also
QWindowsBackingStore

Definition at line 25 of file qwindowsnativeimage_p.h.

Constructor & Destructor Documentation

◆ QWindowsNativeImage()

QWindowsNativeImage::QWindowsNativeImage ( int width,
int height,
QImage::Format format )

Definition at line 76 of file qwindowsnativeimage.cpp.

◆ ~QWindowsNativeImage()

QWindowsNativeImage::~QWindowsNativeImage ( )

Definition at line 94 of file qwindowsnativeimage.cpp.

Member Function Documentation

◆ hdc()

HDC QWindowsNativeImage::hdc ( ) const
inline

Definition at line 40 of file qwindowsnativeimage_p.h.

◆ height()

int QWindowsNativeImage::height ( ) const
inline

Definition at line 35 of file qwindowsnativeimage_p.h.

◆ image() [1/2]

QImage & QWindowsNativeImage::image ( )
inline

Definition at line 37 of file qwindowsnativeimage_p.h.

◆ image() [2/2]

const QImage & QWindowsNativeImage::image ( ) const
inline

Definition at line 38 of file qwindowsnativeimage_p.h.

◆ systemFormat()

QImage::Format QWindowsNativeImage::systemFormat ( )
static

Definition at line 106 of file qwindowsnativeimage.cpp.

◆ width()

int QWindowsNativeImage::width ( ) const
inline

Definition at line 34 of file qwindowsnativeimage_p.h.


The documentation for this class was generated from the following files: