diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-06-12 12:09:05 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2020-10-20 07:27:10 +0200 |
commit | ed43f89f8d1d3099ba0b94acf7775639e0ff9b28 (patch) | |
tree | aca07de3f2c73768c4555a25f1e05fd80a95cfa6 /src/gui/kernel/qhighdpiscaling_p.h | |
parent | 3df2448f6322bd6ecc8c11aa05e935223ef96dd3 (diff) |
Update QHighDpiScaling internal documentation
Document new conversion functions and how the new
public API (rounding) effects QHighDpiScaling operation.
Change-Id: I801fc065cdb4904811a009510b08cac630b83fe7
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qhighdpiscaling_p.h')
-rw-r--r-- | src/gui/kernel/qhighdpiscaling_p.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/kernel/qhighdpiscaling_p.h b/src/gui/kernel/qhighdpiscaling_p.h index cf21a90f70..76f0186e69 100644 --- a/src/gui/kernel/qhighdpiscaling_p.h +++ b/src/gui/kernel/qhighdpiscaling_p.h @@ -141,10 +141,6 @@ private: static QDpi m_logicalDpi; }; -// Coordinate system conversion functions: -// QHighDpi::fromNativePixels : from physical(screen/backing) to logical pixels -// QHighDpi::toNativePixels : from logical to physical pixels - namespace QHighDpi { inline qreal scale(qreal value, qreal scaleFactor, QPointF /* origin */ = QPointF(0, 0)) |