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
QWindowsDirect2DDeviceContextPrivate Class Reference
+ Collaboration diagram for QWindowsDirect2DDeviceContextPrivate:

Public Member Functions

 QWindowsDirect2DDeviceContextPrivate (ID2D1DeviceContext *dc)
 
void begin ()
 
bool end ()
 

Public Attributes

ComPtr< ID2D1DeviceContext > deviceContext
 
int refCount = 0
 

Detailed Description

Definition at line 14 of file qwindowsdirect2ddevicecontext.cpp.

Constructor & Destructor Documentation

◆ QWindowsDirect2DDeviceContextPrivate()

QWindowsDirect2DDeviceContextPrivate::QWindowsDirect2DDeviceContextPrivate ( ID2D1DeviceContext * dc)
inline

Definition at line 16 of file qwindowsdirect2ddevicecontext.cpp.

References deviceContext, QWindowsDirect2DContext::instance(), Q_ASSERT, Q_UNLIKELY, and qFatal.

+ Here is the call graph for this function:

Member Function Documentation

◆ begin()

void QWindowsDirect2DDeviceContextPrivate::begin ( )
inline

Definition at line 31 of file qwindowsdirect2ddevicecontext.cpp.

References deviceContext, Q_ASSERT, and refCount.

◆ end()

bool QWindowsDirect2DDeviceContextPrivate::end ( )
inline

Definition at line 42 of file qwindowsdirect2ddevicecontext.cpp.

References deviceContext, Q_ASSERT, qWarning, and refCount.

Member Data Documentation

◆ deviceContext

ComPtr<ID2D1DeviceContext> QWindowsDirect2DDeviceContextPrivate::deviceContext

◆ refCount

int QWindowsDirect2DDeviceContextPrivate::refCount = 0

Definition at line 65 of file qwindowsdirect2ddevicecontext.cpp.

Referenced by begin(), and end().


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