; delete all existing items
CLEAR
;
; draw a point at position (50/50) in style 1 and color 255 (= RGB (255/0/0) = red)
POINT 50 50 1 255
;
; draw a line from (20/30) to (100/800) in color 0 (= RGB (0/0/0) = black)
LINE 20 30 400 500 0
;
; draw a rectangle (left=100 top=110 right=200 bottom=220) in color 2550
RECTANGLE 100 110 200 220 2550
;
; draw an ellipse (left=250 top=200 right=400 bottom=300) in color 65280 (= RGB (0/255/0) = green)
ELLIPSE 250 200 400 300 65280

OPERATION OVERLAYELEMENT_OPERATION_ISFILLED PREVIOUSCREATEDELEMENT TRUE 0 0
OPERATION OVERLAYELEMENT_OPERATION_SETTRANSPARENT PREVIOUSCREATEDELEMENT 50 0 0
OPERATION OVERLAYELEMENT_OPERATION_SETCOLOR PREVIOUSCREATEDELEMENT 65280 0 0

;
; draw a polyline of 3 points (10/11) (100/50) (30/200) in color 400
POLYLINE 3 10 11 100 50 30 200 400
;
; write the text "Let's DANCE" with font "Arial" Size 30 not bold (=0), italic (=1) in color 16711680 (= RGB (0/0/255) = black) at position (400/420)
TEXT 400 420 ''Let's DANCE'' ''Arial'' 30 0 1 16711680
;
; draw the bitmap "ruler.bmp" at position (100/300) using the transparency color 16711935
BITMAPBYFILENAME 100 300 ''ruler.bmp'' 16711935
;
; set operation OVERLAYELEMENT_OPERATION_SETAUTOHIDE on the just created element to ON ==> the ruler will hide, of the cursor is over the icon
OPERATION OVERLAYELEMENT_OPERATION_SETAUTOHIDE PREVIOUSCREATEDELEMENT TRUE 0 0
OPERATION OVERLAYELEMENT_OPERATION_SETTRANSPARENT PREVIOUSCREATEDELEMENT 50 0 0