qt5base-lts/tests/auto/other/lancelot/scripts/tiled_pixmap.qps
Axel Waggershauser b11317a643 Whitespace cleanup: remove trailing whitespace
Remove all trailing whitespace from the following list of files:
*.cpp *.h *.conf *.qdoc *.pro *.pri *.mm *.rc *.pl *.qps *.xpm *.txt *README
excluding 3rdparty, test-data and auto generated code.

Note A): the only non 3rdparty c++-files that still
have trailing whitespace after this change are:
* src/corelib/codecs/cp949codetbl_p.h
* src/corelib/codecs/qjpunicode.cpp
* src/corelib/codecs/qbig5codec.cpp
* src/corelib/xml/qxmlstream_p.h
* src/tools/qdoc/qmlparser/qqmljsgrammar.cpp
* src/tools/uic/ui4.cpp
* tests/auto/other/qtokenautomaton/tokenizers/*
* tests/benchmarks/corelib/tools/qstring/data.cpp
* util/lexgen/tokenizer.cpp

Note B): in about 30 files some overlapping 'leading tab' and
'TAB character in non-leading whitespace' issues have been fixed
to make the sanity bot happy. Plus some general ws-fixes here
and there as asked for during review.

Change-Id: Ia713113c34d82442d6ce4d93d8b1cf545075d11d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-03-16 20:22:50 +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"