diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2014-03-21 11:36:55 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-09 20:53:06 +0200 |
commit | 1a6011e09f6378e177426d5b1bb783419faea02a (patch) | |
tree | d01f56fe518e25c0d00c779515fd09b6ecdfd8fc /.gitattributes | |
parent | 63e33bfdab52b33665a4f53128fa4d447d5ab946 (diff) |
QTextImageHandler: Load @2x images on retina
Look for and load "@2x" image versions. Adjust
getPixmap/ImageSize to take the image devicePxielRatio
into account.
Use doc->documentLayout()->paintDevice() to get the
target window devicePixelRatio (like the existing
DPI-based scaling). In practice this pointer may/
will be null, fall back to qApp->devicePixelRatio
as usual.
Task-number: QTBUG-36383
Change-Id: Ib5e113b67242b5a9b3410272f2183a76a60bc773
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions