QtBase  v6.3.1
Functions
QHighDpi Namespace Reference

Functions

qreal scale (qreal value, qreal scaleFactor, QPointF=QPointF(0, 0))
 
QSize scale (const QSize &value, qreal scaleFactor, QPointF=QPointF(0, 0))
 
QSizeF scale (const QSizeF &value, qreal scaleFactor, QPointF=QPointF(0, 0))
 
QVector2D scale (const QVector2D &value, qreal scaleFactor, QPointF=QPointF(0, 0))
 
QPointF scale (const QPointF &pos, qreal scaleFactor, QPointF origin=QPointF(0, 0))
 
QPoint scale (const QPoint &pos, qreal scaleFactor, QPoint origin=QPoint(0, 0))
 
QRect scale (const QRect &rect, qreal scaleFactor, QPoint origin=QPoint(0, 0))
 
QRectF scale (const QRectF &rect, qreal scaleFactor, QPoint origin=QPoint(0, 0))
 
QMargins scale (const QMargins &margins, qreal scaleFactor, QPoint origin=QPoint(0, 0))
 
template<typename T >
QList< Tscale (const QList< T > &list, qreal scaleFactor, QPoint origin=QPoint(0, 0))
 
QRegion scale (const QRegion &region, qreal scaleFactor, QPoint origin=QPoint(0, 0))
 
template<typename T >
QHighDpiScaling::Point position (T, QHighDpiScaling::Point::Kind)
 
QHighDpiScaling::Point position (QPoint point, QHighDpiScaling::Point::Kind kind)
 
QHighDpiScaling::Point position (QPointF point, QHighDpiScaling::Point::Kind kind)
 
QHighDpiScaling::Point position (QRect rect, QHighDpiScaling::Point::Kind kind)
 
QHighDpiScaling::Point position (QRectF rect, QHighDpiScaling::Point::Kind kind)
 
template<typename T , typename C >
T fromNativePixels (const T &value, const C *context)
 
template<typename T , typename C >
T toNativePixels (const T &value, const C *context)
 
template<typename T , typename C >
T fromNativeLocalPosition (const T &value, const C *context)
 
template<typename T , typename C >
T toNativeLocalPosition (const T &value, const C *context)
 
template<typename T , typename C >
T fromNativeGlobalPosition (const T &value, const C *context)
 
template<typename T , typename C >
T toNativeGlobalPosition (const T &value, const C *context)
 
template<typename T , typename C >
T fromNativeWindowGeometry (const T &value, const C *context)
 
template<typename T , typename C >
T toNativeWindowGeometry (const T &value, const C *context)
 
template<typename T >
T fromNative (const T &value, qreal scaleFactor, QPoint origin=QPoint(0, 0))
 
template<typename T >
T toNative (const T &value, qreal scaleFactor, QPoint origin=QPoint(0, 0))
 
QRect fromNative (const QRect &rect, const QScreen *screen, const QPoint &screenOrigin)
 
QRect fromNativeScreenGeometry (const QRect &nativeScreenGeometry, const QScreen *screen)
 
QRegion fromNativeLocalRegion (const QRegion &pixelRegion, const QWindow *window)
 
QRegion fromNativeLocalExposedRegion (const QRegion &pixelRegion, const QWindow *window)
 
QRegion toNativeLocalRegion (const QRegion &pointRegion, const QWindow *window)
 

Function Documentation

◆ fromNative() [1/2]

QRect QHighDpi::fromNative ( const QRect rect,
const QScreen screen,
const QPoint screenOrigin 
)
inline

Definition at line 314 of file qhighdpiscaling_p.h.

Here is the call graph for this function:

◆ fromNative() [2/2]

template<typename T >
T QHighDpi::fromNative ( const T value,
qreal  scaleFactor,
QPoint  origin = QPoint(0, 0) 
)
inline

Definition at line 303 of file qhighdpiscaling_p.h.

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

◆ fromNativeGlobalPosition()

template<typename T , typename C >
T QHighDpi::fromNativeGlobalPosition ( const T value,
const C context 
)

Definition at line 271 of file qhighdpiscaling_p.h.

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

◆ fromNativeLocalExposedRegion()

QRegion QHighDpi::fromNativeLocalExposedRegion ( const QRegion pixelRegion,
const QWindow window 
)
inline

Definition at line 332 of file qhighdpiscaling_p.h.

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

◆ fromNativeLocalPosition()

template<typename T , typename C >
T QHighDpi::fromNativeLocalPosition ( const T value,
const C context 
)

Definition at line 259 of file qhighdpiscaling_p.h.

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

◆ fromNativeLocalRegion()

QRegion QHighDpi::fromNativeLocalRegion ( const QRegion pixelRegion,
const QWindow window 
)
inline

Definition at line 325 of file qhighdpiscaling_p.h.

Here is the call graph for this function:

◆ fromNativePixels()

template<typename T , typename C >
T QHighDpi::fromNativePixels ( const T value,
const C context 
)

Definition at line 245 of file qhighdpiscaling_p.h.

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

◆ fromNativeScreenGeometry()

QRect QHighDpi::fromNativeScreenGeometry ( const QRect nativeScreenGeometry,
const QScreen screen 
)
inline

Definition at line 319 of file qhighdpiscaling_p.h.

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

◆ fromNativeWindowGeometry()

template<typename T , typename C >
T QHighDpi::fromNativeWindowGeometry ( const T value,
const C context 
)

Definition at line 287 of file qhighdpiscaling_p.h.

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

◆ position() [1/5]

QHighDpiScaling::Point QHighDpi::position ( QPoint  point,
QHighDpiScaling::Point::Kind  kind 
)
inline

Definition at line 231 of file qhighdpiscaling_p.h.

◆ position() [2/5]

QHighDpiScaling::Point QHighDpi::position ( QPointF  point,
QHighDpiScaling::Point::Kind  kind 
)
inline

Definition at line 234 of file qhighdpiscaling_p.h.

Here is the call graph for this function:

◆ position() [3/5]

QHighDpiScaling::Point QHighDpi::position ( QRect  rect,
QHighDpiScaling::Point::Kind  kind 
)
inline

Definition at line 237 of file qhighdpiscaling_p.h.

◆ position() [4/5]

QHighDpiScaling::Point QHighDpi::position ( QRectF  rect,
QHighDpiScaling::Point::Kind  kind 
)
inline

Definition at line 240 of file qhighdpiscaling_p.h.

◆ position() [5/5]

template<typename T >
QHighDpiScaling::Point QHighDpi::position ( T  ,
QHighDpiScaling::Point::Kind   
)
inline

Definition at line 228 of file qhighdpiscaling_p.h.

Here is the caller graph for this function:

◆ scale() [1/11]

template<typename T >
QList<T> QHighDpi::scale ( const QList< T > &  list,
qreal  scaleFactor,
QPoint  origin = QPoint(0, 0) 
)

Definition at line 205 of file qhighdpiscaling_p.h.

Here is the call graph for this function:

◆ scale() [2/11]

QMargins QHighDpi::scale ( const QMargins margins,
qreal  scaleFactor,
QPoint  origin = QPoint(0, 0) 
)
inline

Definition at line 197 of file qhighdpiscaling_p.h.

Here is the call graph for this function:

◆ scale() [3/11]

QPoint QHighDpi::scale ( const QPoint pos,
qreal  scaleFactor,
QPoint  origin = QPoint(0, 0) 
)
inline

Definition at line 182 of file qhighdpiscaling_p.h.

◆ scale() [4/11]

QPointF QHighDpi::scale ( const QPointF pos,
qreal  scaleFactor,
QPointF  origin = QPointF(0, 0) 
)
inline

Definition at line 177 of file qhighdpiscaling_p.h.

◆ scale() [5/11]

QRect QHighDpi::scale ( const QRect rect,
qreal  scaleFactor,
QPoint  origin = QPoint(0, 0) 
)
inline

Definition at line 187 of file qhighdpiscaling_p.h.

Here is the call graph for this function:

◆ scale() [6/11]

QRectF QHighDpi::scale ( const QRectF rect,
qreal  scaleFactor,
QPoint  origin = QPoint(0, 0) 
)
inline

Definition at line 192 of file qhighdpiscaling_p.h.

Here is the call graph for this function:

◆ scale() [7/11]

QRegion QHighDpi::scale ( const QRegion region,
qreal  scaleFactor,
QPoint  origin = QPoint(0, 0) 
)
inline

Definition at line 217 of file qhighdpiscaling_p.h.

Here is the call graph for this function:

◆ scale() [8/11]

QSize QHighDpi::scale ( const QSize value,
qreal  scaleFactor,
QPointF  = QPointF(0, 0) 
)
inline

Definition at line 162 of file qhighdpiscaling_p.h.

◆ scale() [9/11]

QSizeF QHighDpi::scale ( const QSizeF value,
qreal  scaleFactor,
QPointF  = QPointF(0, 0) 
)
inline

Definition at line 167 of file qhighdpiscaling_p.h.

◆ scale() [10/11]

QVector2D QHighDpi::scale ( const QVector2D value,
qreal  scaleFactor,
QPointF  = QPointF(0, 0) 
)
inline

Definition at line 172 of file qhighdpiscaling_p.h.

◆ scale() [11/11]

qreal QHighDpi::scale ( qreal  value,
qreal  scaleFactor,
QPointF  = QPointF(0, 0) 
)
inline

Definition at line 157 of file qhighdpiscaling_p.h.

Here is the caller graph for this function:

◆ toNative()

template<typename T >
T QHighDpi::toNative ( const T value,
qreal  scaleFactor,
QPoint  origin = QPoint(0, 0) 
)
inline

Definition at line 309 of file qhighdpiscaling_p.h.

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

◆ toNativeGlobalPosition()

template<typename T , typename C >
T QHighDpi::toNativeGlobalPosition ( const T value,
const C context 
)

Definition at line 279 of file qhighdpiscaling_p.h.

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

◆ toNativeLocalPosition()

template<typename T , typename C >
T QHighDpi::toNativeLocalPosition ( const T value,
const C context 
)

Definition at line 265 of file qhighdpiscaling_p.h.

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

◆ toNativeLocalRegion()

QRegion QHighDpi::toNativeLocalRegion ( const QRegion pointRegion,
const QWindow window 
)
inline

Definition at line 345 of file qhighdpiscaling_p.h.

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

◆ toNativePixels()

template<typename T , typename C >
T QHighDpi::toNativePixels ( const T value,
const C context 
)

Definition at line 252 of file qhighdpiscaling_p.h.

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

◆ toNativeWindowGeometry()

template<typename T , typename C >
T QHighDpi::toNativeWindowGeometry ( const T value,
const C context 
)

Definition at line 295 of file qhighdpiscaling_p.h.

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