mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-26 14:17:05 +08:00
66 lines
1.4 KiB
Plaintext
66 lines
1.4 KiB
Plaintext
# Version: 1
|
|
# CheckVsReference: 1% (0 0 690 580)
|
|
|
|
|
|
setRenderHint Antialiasing
|
|
|
|
setPen #00ff00
|
|
|
|
pixmap_load dome_argb32.png the_pixmap
|
|
begin_block draw_stuff
|
|
save
|
|
drawPixmapFragments the_pixmap 1 50 50 25 25 60 60 1 1 0 1
|
|
drawPixmapFragments the_pixmap 1 150 50 25 25 60 60 1 1 0 0.5
|
|
drawPixmapFragments the_pixmap 1 250 50 25 25 60 60 1 1 30 1
|
|
drawPixmapFragments the_pixmap 1 350 50 25 25 60 60 1.5 1 0 1
|
|
drawPixmapFragments the_pixmap 1 450 50 25 25 60 60 1 1.5 0 1
|
|
drawPixmapFragments the_pixmap 2 550 50 25 25 40 40 0.5 0.5 -45 1 600 50 25 25 40 40 0.7 0.7 45 1
|
|
restore
|
|
end_block
|
|
|
|
|
|
translate 0 120
|
|
pixmap_load dome_rgb32.png the_pixmap
|
|
repeat_block draw_stuff
|
|
|
|
translate 0 120
|
|
pixmap_load dome_indexed.png the_pixmap
|
|
repeat_block draw_stuff
|
|
|
|
translate 0 120
|
|
pixmap_load dome_indexed_mask.png the_pixmap
|
|
repeat_block draw_stuff
|
|
|
|
translate 0 120
|
|
pixmap_load dome_mono.png the_pixmap
|
|
repeat_block draw_stuff
|
|
|
|
|
|
resetMatrix
|
|
translate 700 60
|
|
setPen black
|
|
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 25 600
|
|
drawText 0 0 "simple"
|
|
translate 100 0
|
|
drawText 0 0 "opacity"
|
|
translate 100 0
|
|
drawText 0 0 "rotation"
|
|
translate 100 0
|
|
drawText 0 0 "scale x"
|
|
translate 100 0
|
|
drawText 0 0 "scale y"
|
|
translate 100 0
|
|
drawText 0 0 "two fragments"
|
|
translate 100 0
|