setRenderHint Antialiasing
setPen black 5
translate 10 10
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_setCoordinateMode ObjectBoundingMode
gradient_setLinear 0.2 0.2 0.7 0.7
gradient_setLinearPen 0.0 0.0 0.0 1.0
begin_block objects
drawRect 0 0 100 100
drawEllipse 100 0 100 100
drawRoundRect 200 0 100 100
drawPolygon [300 0 390 0 350 99]
drawPie 400 0 100 100 720 4320
drawLine 510 10 590 90
drawRect 610 0 40 100
drawRect 670 30 100 40
end_block
translate 0 120
repeat_block objects
translate 10 120
rotate 10
repeat_block objects