diff options
| author | Jochen Seemann <seeman.jochen@gmail.com> | 2014-07-25 16:03:18 +0300 |
|---|---|---|
| committer | Andrew Knight <andrew.knight@digia.com> | 2014-08-05 16:43:52 +0200 |
| commit | fcb8dc0cb92f9cf689bfae4d5fff55d63ca4accb (patch) | |
| tree | a47097d8187e960a6fbdada041b6ee9829c9b9a2 /src/gui/kernel/qopenglwindow.cpp | |
| parent | 42f681ea8db8330c1992fc85669206efab5ab562 (diff) | |
WinRT: Fix physical size of screen
Currently, the physical size of the screen is calculated with the
logicalSize and the logicalDpi of the screen. This doesn't work because
logicalDpi has a user-defined multiplier and a strange value.
The easiest and accuratest way is to take the raw dpi of the axis and
the raw pixel size (logicalSize*scaleFactor).
This all is needed for a correct value
of Screen.pixelDensity in QtQuick.
Change-Id: I8be0139d762364140043c3fa0d203298ca7ef293
Reviewed-by: Jochen Seemann <seemann.jochen@gmail.com>
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Diffstat (limited to 'src/gui/kernel/qopenglwindow.cpp')
0 files changed, 0 insertions, 0 deletions
