mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-29 23:45:50 +08:00
99 lines
2.0 KiB
Plaintext
99 lines
2.0 KiB
Plaintext
|
# Version: 1
|
||
|
# CheckVsReference: 5% (0 0 600 400)
|
||
|
|
||
|
path_addRect path 400 0 80 80
|
||
|
path_addEllipse path 440 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_setSpread PadSpread
|
||
|
gradient_setRadial 20 20 50 40 40
|
||
|
drawRect 0 0 100 100
|
||
|
|
||
|
gradient_setSpread ReflectSpread
|
||
|
gradient_setRadial 120 20 50 140 40
|
||
|
drawEllipse 100 0 100 100
|
||
|
|
||
|
gradient_setSpread RepeatSpread
|
||
|
gradient_setRadial 220 20 50 240 40
|
||
|
drawRoundRect 200 0 100 100
|
||
|
|
||
|
gradient_clearStops
|
||
|
gradient_appendStop 0 3f7f7fff
|
||
|
gradient_appendStop 0.5 dfdfffff
|
||
|
gradient_appendStop 1 7f00007f
|
||
|
|
||
|
gradient_setSpread PadSpread
|
||
|
gradient_setRadial 320 20 50 340 40
|
||
|
drawPolygon [300 0 390 0 350 99]
|
||
|
|
||
|
gradient_setSpread ReflectSpread
|
||
|
gradient_setRadial 420 20 50 440 40
|
||
|
drawPath path
|
||
|
|
||
|
gradient_setSpread RepeatSpread
|
||
|
gradient_setRadial 520 20 50 540 40
|
||
|
drawPie 500 0 100 100 720 4320
|
||
|
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 610 50 "No XForm"
|
||
|
drawText 610 200 "scale 1x2"
|
||
|
drawText 610 300 "brush transform"
|
||
|
drawText 10 450 "Pad"
|
||
|
drawText 110 450 "Reflect"
|
||
|
drawText 210 450 "Repeat"
|
||
|
drawText 310 450 "Pad w/alpha"
|
||
|
drawText 410 450 "Reflect w/alpha"
|
||
|
drawText 510 450 "Repeat w/alpha"
|
||
|
|
||
|
# Radius and focal indicators
|
||
|
setPen 3f000000
|
||
|
setBrush nobrush
|
||
|
|
||
|
begin_block ellipse_draw
|
||
|
setClipRect 0 0 100 100
|
||
|
drawEllipse -30 -30 100 100
|
||
|
drawEllipse 35 35 11 11
|
||
|
translate 100 0
|
||
|
end_block
|
||
|
|
||
|
repeat_block ellipse_draw
|
||
|
repeat_block ellipse_draw
|
||
|
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
|
||
|
repeat_block ellipse_draw
|
||
|
repeat_block ellipse_draw
|