qt5base-lts/tests/auto/other/lancelot/scripts/tiled_pixmap.qps
Jo Asplin 9acec431c3 Moved integrationtests/* into other/
Currently there seems to be no precise definition of what
an integrationtest is in the context of Qt testing.

To avoid confusion, the tests under integrationtests/ are
moved into other/ (which is effectively where we keep
tests that don't clearly fit into any other category).

Tests can be moved back into an integrationtests/ directory
at a later point, should an unambiguous definition be established.

Change-Id: I3bb289be2dc2aca11b51a8ce8fcc5942f06d6c5c
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
2011-11-30 09:30:22 +01:00

85 lines
1.5 KiB
Plaintext

# Version: 1
# CheckVsReference: 5% (0 0 639 638)
translate 0 10
setRenderHint Antialiasing
pixmap_load dome_argb32 the_pixmap
begin_block draw_stuff
save
# Standard draw
drawTiledPixmap the_pixmap 0 0 150 100 0 0
# Standard draw with offset
translate 160 0
drawTiledPixmap the_pixmap 0 0 150 100 25 25
# xformed
translate 160 0
save
translate 10 -10
rotate 10
setRenderHint SmoothPixmapTransform false
drawTiledPixmap the_pixmap 0 0 150 100 25 25
restore
# xformed with smooth xform
translate 160 0
save
translate 10 -10
rotate 10
setRenderHint SmoothPixmapTransform
drawTiledPixmap the_pixmap 0 0 150 100 25 25
restore
restore
end_block
translate 0 120
pixmap_load dome_rgb32 the_pixmap
repeat_block draw_stuff
translate 0 120
pixmap_load dome_indexed the_pixmap
repeat_block draw_stuff
translate 0 120
pixmap_load dome_indexed_mask the_pixmap
repeat_block draw_stuff
translate 0 120
pixmap_load dome_mono the_pixmap
repeat_block draw_stuff
################################################################################
# Some helpful text...
#
resetMatrix
translate 650 80
drawText 0 0 "32 bit w/alpha"
translate 0 120
drawText 0 0 "32 bit w/o alpha"
translate 0 120
drawText 0 0 "8 bit indexed"
translate 0 120
drawText 0 0 "8 bit indexed w/mask"
translate 0 120
drawText 0 0 "1 bit"
resetMatrix
translate 10 630
drawText 0 0 "normal"
translate 160 0
drawText 0 0 "offset"
translate 160 0
drawText 0 0 "xformed"
translate 160 0
drawText 0 0 "smooth xformed"