diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-02-14 20:55:35 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-03-07 17:40:13 +0100 |
commit | 85f82185ef5102a2dbe3b2e437b9723e1652ce57 (patch) | |
tree | a4ebcf3edb5c0af7c864e6ee076ae8be16e63b30 /tests | |
parent | 913796df52a27f6de50d2c13f7401bf5d1f74926 (diff) |
QtQuick.Pdf: fix rendering on high-dpi screens
Default scale is 1 point = 1 pixel, but that means logical pixels, since
we have that facade everywhere else in Qt. We use image.sourceSize to
make it render more pixels than it otherwise would, according to
devicePixelRatio.
Change-Id: I3ff05f050c9b60c14b8208d61717e796ddd56220
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions