38be0d1383
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
137 lines
2.4 KiB
Plaintext
137 lines
2.4 KiB
Plaintext
# Version: 1
|
|
# CheckVsReference: 5%
|
|
|
|
translate 10 30
|
|
setBackground 7f7fff
|
|
setBackgroundMode Transparent
|
|
setPen ff7f7f
|
|
|
|
path_moveTo path 0 0
|
|
path_lineTo path 25 0
|
|
path_cubicTo path 50 0 25 25 25 50
|
|
path_lineTo path 0 50
|
|
|
|
bitmap_load bitmap.png bitmap
|
|
|
|
begin_block drawing
|
|
save
|
|
drawRect 0 0 50 50
|
|
|
|
translate 60 0
|
|
drawEllipse 0 0 50 50
|
|
|
|
translate 60 0
|
|
drawPolygon [0 0 50 0 25 50 25 25]
|
|
|
|
translate 60 0
|
|
drawPath path
|
|
|
|
translate 60 0
|
|
drawPie 0 0 50 50 1440 2000
|
|
|
|
translate 60 0
|
|
drawChord 0 0 50 50 1440 2000
|
|
|
|
translate 60 0
|
|
drawLine 0 0 50 0
|
|
drawLine 0 0 50 50
|
|
drawLine 0 0 0 50
|
|
|
|
translate 60 0
|
|
drawPolyline [0 0 50 0 25 50 25 25]
|
|
|
|
translate 60 0
|
|
drawArc 0 0 50 50 1440 2000
|
|
|
|
translate 60 0
|
|
drawText 0 10 "Jambi-Bambi"
|
|
|
|
translate 80 0
|
|
drawPixmap bitmap 0 0
|
|
restore
|
|
|
|
save
|
|
setRenderHint Antialiasing
|
|
translate 5 55
|
|
drawRect 0 0 50 50
|
|
|
|
translate 60 0
|
|
drawEllipse 0 0 50 50
|
|
|
|
translate 60 0
|
|
drawPolygon [0 0 50 0 25 50 25 25]
|
|
|
|
translate 60 0
|
|
drawPath path
|
|
|
|
translate 60 0
|
|
drawPie 0 0 50 50 1440 2000
|
|
|
|
translate 60 0
|
|
drawChord 0 0 50 50 1440 2000
|
|
|
|
translate 60 0
|
|
drawLine 0 0 50 0
|
|
drawLine 0 0 50 50
|
|
drawLine 0 0 0 50
|
|
|
|
translate 60 0
|
|
drawPolyline [0 0 50 0 25 50 25 25]
|
|
|
|
translate 60 0
|
|
drawArc 0 0 50 50 1440 2000
|
|
|
|
translate 60 0
|
|
drawText 0 10 "Jambi-Bambi"
|
|
|
|
translate 80 0
|
|
drawPixmap bitmap 0 0
|
|
restore
|
|
end_block
|
|
|
|
translate 0 160
|
|
setBackgroundMode Transparent
|
|
setPen ff7f7f 0 dotline flatcap beveljoin
|
|
repeat_block drawing
|
|
|
|
translate 0 160
|
|
setBackgroundMode Opaque
|
|
setPen ff7f7f 0 dotline flatcap beveljoin
|
|
repeat_block drawing
|
|
|
|
translate 0 160
|
|
setBackgroundMode Transparent
|
|
setPen ff7f7f 4 dashline flatcap beveljoin
|
|
repeat_block drawing
|
|
|
|
translate 0 160
|
|
setBackgroundMode OpaqueMode
|
|
setPen ff7f7f 4 dashline flatcap beveljoin
|
|
repeat_block drawing
|
|
|
|
resetMatrix
|
|
|
|
translate 5 5
|
|
|
|
setBrush nobrush
|
|
setPen black
|
|
setBackgroundMode transparent
|
|
drawText 10 15 "TransparentMode with solid 0-width pen"
|
|
drawRect 0 0 685 135
|
|
|
|
translate 0 160
|
|
drawText 10 15 "TransparentMode with dotted 0-width pen"
|
|
drawRect 0 0 685 135
|
|
|
|
translate 0 160
|
|
drawText 10 15 "OpaqueMode with dotted 0-width pen"
|
|
drawRect 0 0 685 135
|
|
|
|
translate 0 160
|
|
drawText 10 15 "TransparentMode with dotted 4-width pen"
|
|
drawRect 0 0 685 135
|
|
|
|
translate 0 160
|
|
drawText 10 15 "OpaqueMode with solid 4-width pen"
|
|
drawRect 0 0 685 135
|