aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2017-03-30 12:01:09 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-03-31 13:04:49 +0000
commit0043fab778f2497f644c434a194b5c5eec851819 (patch)
tree66179017724f17c97035d7bc2c4b1ea1953399cd /src/qml/compiler/qv4codegen.cpp
parent8132d628b1568cb750a61bc95c5b0632595e2854 (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 'src/qml/compiler/qv4codegen.cpp')
0 files changed, 0 insertions, 0 deletions