qt5base-lts/tests/auto/other/lancelot/scripts/conical_gradients.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%
path_addRect path 300 0 80 80
path_addEllipse path 340 40 60 60
setRenderHint Antialiasing
setPen black
begin_block gradients
gradient_clearStops
gradient_appendStop 0 red
gradient_appendStop 0.25 orange
gradient_appendStop 0.5 yellow
gradient_appendStop 0.8 green
gradient_appendStop 1 cyan
gradient_setConical 40 40 50
drawRect 0 0 100 100
gradient_setConical 140 40 230
drawEllipse 100 0 100 100
gradient_clearStops
gradient_appendStop 0 3f7f7fff
gradient_appendStop 0.5 dfdfffff
gradient_appendStop 1 7f00007f
gradient_setConical 240 40 50
drawPolygon [200 0 290 0 250 99]
gradient_setConical 340 40 230
drawPath path
end_block
translate 0 100
scale 1 2
repeat_block gradients
resetMatrix
translate 0 300
brushTranslate 30 0
brushScale 0.9 0.9
brushRotate 20
repeat_block gradients
# Some helpful info perhaps?
resetMatrix
setPen black
drawText 410 50 "No XForm"
drawText 410 200 "scale 1x2"
drawText 410 300 "brush transform"
drawText 10 450 "50 deg"
drawText 110 450 "230 deg"
drawText 210 450 "50 deg w/alpha "
drawText 310 450 "230 deg w/alpha"
setPen 3f000000
setBrush nobrush
begin_block ellipse_draw
setClipRect 0 0 100 100
drawEllipse 35 35 11 11
save
translate 40 40
rotate -50
drawLine -100 0 100 0
restore
translate 100 0
end_block
repeat_block ellipse_draw
repeat_block ellipse_draw
repeat_block ellipse_draw
resetMatrix
translate 0 100
scale 1 2
repeat_block ellipse_draw
repeat_block ellipse_draw
repeat_block ellipse_draw
repeat_block ellipse_draw