diff options
Diffstat (limited to 'src/gui/kernel/qscreen.cpp')
-rw-r--r-- | src/gui/kernel/qscreen.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/kernel/qscreen.cpp b/src/gui/kernel/qscreen.cpp index cb09c10905..bfdcb37185 100644 --- a/src/gui/kernel/qscreen.cpp +++ b/src/gui/kernel/qscreen.cpp @@ -254,6 +254,9 @@ QSize QScreen::size() const Depending on what information the underlying system provides the value might not be entirely accurate. + \note Physical DPI is expressed in device-independent dots. Multiply by QScreen::devicePixelRatio() + to get device-dependent density. + \sa physicalDotsPerInchY() */ qreal QScreen::physicalDotsPerInchX() const @@ -269,6 +272,9 @@ qreal QScreen::physicalDotsPerInchX() const Depending on what information the underlying system provides the value might not be entirely accurate. + \note Physical DPI is expressed in device-independent dots. Multiply by QScreen::devicePixelRatio() + to get device-dependent density. + \sa physicalDotsPerInchX() */ qreal QScreen::physicalDotsPerInchY() const @@ -287,6 +293,9 @@ qreal QScreen::physicalDotsPerInchY() const This is a convenience property that's simply the average of the physicalDotsPerInchX and physicalDotsPerInchY properties. + \note Physical DPI is expressed in device-independent dots. Multiply by QScreen::devicePixelRatio() + to get device-dependent density. + \sa physicalDotsPerInchX() \sa physicalDotsPerInchY() */ |