summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2010-03-01 14:08:26 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2010-03-01 14:16:39 (GMT)
commitd04f5336f769d9e5d2f9105e1da4a7d23ea91795 (patch)
tree5f9b296ffbce83b916502072ede069842dd7a527 /tests
parent5255c09fceddf5a1b79c6016f51c0d721c599c9b (diff)
downloadQt-d04f5336f769d9e5d2f9105e1da4a7d23ea91795.zip
Qt-d04f5336f769d9e5d2f9105e1da4a7d23ea91795.tar.gz
Qt-d04f5336f769d9e5d2f9105e1da4a7d23ea91795.tar.bz2
Fixed qDrawPixmaps() to draw on integer coordinates on Mac OS X.
For some reason, doing a QPainter::translate(-0.5, 0) and then QPainter::drawPixmap(0.5, 0, ...) doesn't result in a zero transformation on Mac OS X. This is a workaround where we calculate the device coords ourselves if it's only a simple translate operation. Task-number: QTBUG-8455 Reviewed-by: Kim
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions