qt5base-lts/tests/arthur/data/qps/alphas.qps
Qt by Nokia 38be0d1383 Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:

http://qt.gitorious.org/qt/pages/GitIntroductionWithQt

If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.

Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
2011-04-27 12:05:43 +02:00

64 lines
1.5 KiB
Plaintext

# Background --[ start ]---------------
setPen NoPen
# Red alpha rect
setBrush #7fff0000
drawRect 0 0 200 900
drawRect 400 0 200 900
# Blue alpha rect
setBrush #7f0000ff
drawRect 200 0 200 900
drawRect 600 0 200 900
# Normal ----------------------------------------
setBrush #ffff00ff
setPen #ff00ff00 8 SolidLine flatcap miterjoin
path_moveTo star 100 510
path_lineTo star 30 590
path_lineTo star 180 530
path_lineTo star 20 530
path_lineTo star 170 590
begin_block allItems
drawLine 0 10 200 10
drawRect 10 50 180 40
drawEllipse 50 150 100 50
drawPolygon [ 10 230 50 210 50 280 100 280 150 230 180 280] winding
drawPolyline [ 85 380 50 310 50 360 100 360 150 310 180 360]
drawRoundRect 10 400 80 100 100 100
drawRoundRect 110 400 80 100 50 50
drawPath star
drawPixmap solid.png 10 600 50 50
drawPixmap alpha.png 10 675 50 50
drawPixmap masked.png 10 750 50 50
drawTiledPixmap solid.png 110 600 80 75 80 90
drawTiledPixmap alpha.png 110 675 80 75 80 90
drawTiledPixmap masked.png 110 750 80 75 80 90
end_block
# Normal 2nd Quad -------------------------------
setBrush #ffff00ff
setPen #ff00ff00 10 SolidLine roundcap roundjoin
translate 200 0
repeat_block allItems
# Alpha -----------------------------------------
setBrush #80ff00ff
setPen #8000ff00 10 SolidLine flatcap miterjoin
translate 200 0
repeat_block allItems
# Alpha 2nd Quad --------------------------------
setBrush #80ff00ff
setPen #8000ff00 10 SolidLine roundcap roundjoin
translate 200 0
repeat_block allItems