diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-05-05 13:36:30 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-05-05 13:42:22 (GMT) |
commit | fde7475bcf9c10522a8170e6eb8fb9a8fadc21cd (patch) | |
tree | 5fd8e43395c2a2394cdf562efe39490d32d9f235 /src/plugins/gfxdrivers/powervr | |
parent | d89d1eb47e69c2c2dc1121ef92fd08ef983e3e63 (diff) | |
download | Qt-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 'src/plugins/gfxdrivers/powervr')
0 files changed, 0 insertions, 0 deletions