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

Public Member Functions

 QBackingStorePrivate (QWindow *w)
 
qreal backingStoreDevicePixelRatio () const
 
qreal deviceIndependentToNativeFactor () const
 

Public Attributes

QWindowwindow
 
QPlatformBackingStoreplatformBackingStore = nullptr
 
QScopedPointer< QImagehighDpiBackingstore
 
QRegion staticContents
 
QSize size
 
bool downscale = qEnvironmentVariableIntValue("QT_WIDGETS_HIGHDPI_DOWNSCALE") > 0
 

Detailed Description

Definition at line 20 of file qbackingstore.cpp.

Constructor & Destructor Documentation

◆ QBackingStorePrivate()

QBackingStorePrivate::QBackingStorePrivate ( QWindow * w)
inline

Definition at line 23 of file qbackingstore.cpp.

Member Function Documentation

◆ backingStoreDevicePixelRatio()

qreal QBackingStorePrivate::backingStoreDevicePixelRatio ( ) const
inline

Definition at line 30 of file qbackingstore.cpp.

References downscale, and window.

Referenced by QBackingStore::beginPaint(), and deviceIndependentToNativeFactor().

+ Here is the caller graph for this function:

◆ deviceIndependentToNativeFactor()

qreal QBackingStorePrivate::deviceIndependentToNativeFactor ( ) const
inline

Definition at line 41 of file qbackingstore.cpp.

References backingStoreDevicePixelRatio(), QHighDpiScaling::factor(), and window.

Referenced by QBackingStore::beginPaint(), QBackingStore::flush(), QBackingStore::resize(), and QBackingStore::scroll().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ downscale

bool QBackingStorePrivate::downscale = qEnvironmentVariableIntValue("QT_WIDGETS_HIGHDPI_DOWNSCALE") > 0

Definition at line 53 of file qbackingstore.cpp.

Referenced by backingStoreDevicePixelRatio().

◆ highDpiBackingstore

QScopedPointer<QImage> QBackingStorePrivate::highDpiBackingstore

Definition at line 50 of file qbackingstore.cpp.

Referenced by QBackingStore::beginPaint(), and QBackingStore::paintDevice().

◆ platformBackingStore

QPlatformBackingStore* QBackingStorePrivate::platformBackingStore = nullptr

Definition at line 49 of file qbackingstore.cpp.

Referenced by QBackingStore::~QBackingStore(), and QBackingStore::handle().

◆ size

QSize QBackingStorePrivate::size

Definition at line 52 of file qbackingstore.cpp.

Referenced by QBackingStore::resize(), and QBackingStore::size().

◆ staticContents

◆ window


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