HomePhabricator (Chris)

fix rendering of area dialog in hidpi displays

Description

fix rendering of area dialog in hidpi displays

Renders the screenshot properly sized onto a hidpi device. Before this
fix the screenshot was rendered magnified by the device pixel ratio
because it assumed the screenshot is non-hdpi and needs therefore
scaling up.

By setting the screenshot's dpr to the same as the QPaintDevice's (QDialog)
we tell QT to not scale the image.

Details

Provenance
Roland SchilterAuthored on Mar 18 2016, 11:37 PM
Parents
R63:c34f2fa18934: Fixed unreachable repositioning code.
Branches
Unknown
Tags
Unknown

Event Timeline