qt5base-lts/tests/auto/other/lancelot/scripts/rasterops.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

87 lines
1.6 KiB
Plaintext

# Version: 1
# CheckVsReference: 5%
setPen NoPen
setBrush black
drawRect 10 10 60 500
setCompositionMode SourceOrDestination
translate 20 20
begin_block drawShape
setBrush 0xffff0000
drawEllipse 5 5 30 30
setBrush 0xff00ff00
drawRect 0 0 20 20
setBrush 0xff0000ff
drawRect 20 20 20 20
end_block
begin_block loop
setCompositionMode SourceAndDestination
translate 0 50
repeat_block drawShape
setCompositionMode SourceXorDestination
translate 0 50
repeat_block drawShape
setCompositionMode NotSourceAndNotDestination
translate 0 50
repeat_block drawShape
setCompositionMode NotSourceOrNotDestination
translate 0 50
repeat_block drawShape
setCompositionMode NotSourceXorDestination
translate 0 50
repeat_block drawShape
setCompositionMode NotSource
translate 0 50
repeat_block drawShape
setCompositionMode NotSourceAndDestination
translate 0 50
repeat_block drawShape
setCompositionMode SourceAndNotDestination
translate 0 50
repeat_block drawShape
end_block
resetMatrix
setCompositionMode Source
setBrush white
drawRect 100 10 60 500
translate 110 20
repeat_block loop
resetMatrix
setCompositionMode Source
translate 190 20
repeat_block loop
resetMatrix
setPen black
setCompositionMode SourceOver
translate 250 45
drawText 20 0 "Or ROP"
translate 0 50
drawText 20 0 "And ROP"
translate 0 50
drawText 20 0 "Xor ROP"
translate 0 50
drawText 20 0 "Nor ROP"
translate 0 50
drawText 20 0 "Nand ROP"
translate 0 50
drawText 0 0 "NSrcXorDst ROP"
translate 0 50
drawText 20 0 "NSrc ROP"
translate 0 50
drawText 0 0 "NSrcAndDst ROP"
translate 0 50
drawText 0 0 "SrcAndNDst ROP"