diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2017-03-30 12:01:09 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-03-31 13:04:49 +0000 |
commit | 0043fab778f2497f644c434a194b5c5eec851819 (patch) | |
tree | 66179017724f17c97035d7bc2c4b1ea1953399cd /LICENSE.LGPLv21 | |
parent | 8132d628b1568cb750a61bc95c5b0632595e2854 (diff) |
Fix QQuickCanvasItem::toImage() high-DPI capture
Make toImage() work for devicePixelRatio > 1 by
scaling the source rect.
Also set the devicePixelRatio on the returned image.
Task-number: QTBUG-59170
Change-Id: I0c8ccd562c1cf1e89ff37ca1806b46296480b0d0
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'LICENSE.LGPLv21')
0 files changed, 0 insertions, 0 deletions