Document physicalDotsPerInch high-DPI behavior
Add note to the member function documentation, in addition to the class documentation. Task-number: QTBUG-62649 Change-Id: I5cce6c06b58e70ef6c051d63c2901b219fa6d6b9 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>bb10
parent
24239aef35
commit
8421a1f16d
|
|
@ -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()
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue