qt5base-lts/tests/auto/other/lancelot/scripts/pixmap_rotation.qps
Allan Sandfeld Jensen 94b83ae142 Fix bilinear sampling of more than 8x rotated transforms
The check for 8x zoom was inverted and checked for 1/8x zoom.

Change-Id: I45156db709bab6b702769c2a70d4d2af51b5533a
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2016-11-29 15:44:52 +00:00

32 lines
443 B
Plaintext

# Version: 1
# CheckVsReference: 0% (0 0 440 220)
translate 120 120
begin_block drawing
save
rotate 90
drawPixmap solid.png 0 0
rotate 90
drawPixmap solid.png 0 0
rotate 90
drawPixmap solid.png 0 0
rotate 90
drawPixmap solid.png 0 0
restore
end_block
resetMatrix
translate 340 120
setRenderHint SmoothPixmapTransformation
repeat_block drawing
resetMatrix
drawText 50 240 "Normal Xform"
drawText 270 240 "Smooth Xform"