summaryrefslogtreecommitdiffstats
path: root/tests/arthur/common/paintcommands.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-05-05 13:36:30 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-05-05 13:42:22 (GMT)
commitfde7475bcf9c10522a8170e6eb8fb9a8fadc21cd (patch)
tree5fd8e43395c2a2394cdf562efe39490d32d9f235 /tests/arthur/common/paintcommands.h
parentd89d1eb47e69c2c2dc1121ef92fd08ef983e3e63 (diff)
downloadQt-fde7475bcf9c10522a8170e6eb8fb9a8fadc21cd.zip
Qt-fde7475bcf9c10522a8170e6eb8fb9a8fadc21cd.tar.gz
Qt-fde7475bcf9c10522a8170e6eb8fb9a8fadc21cd.tar.bz2
Ensured correct rounding of scaled image drawing at non-integer coords.
Images coordinates should simply be rounded and are not to be subject to the aliased coordinate delta. The patch also adds a tiny delta in QSpanData::setupMatrix() to ensure coordinates for fetching from source images are rounded the opposite direction of the target rectangle. This removes a lot of artifacts when trying to do border-image based drawing on non-integer coordinates. A new qps test for border-image drawing is included. Task-number: 251561 Reviewed-by: Trond
Diffstat (limited to 'tests/arthur/common/paintcommands.h')
0 files changed, 0 insertions, 0 deletions