• Reference Guide


var_bmp <- draw_icon(x, y, icon)
var_bmp <- draw_icon(x, y, icon, img)
The var_bmp parameter is an l-value referring to a variable of the type Bitmap. The function draws an icon to the bitmap.


An l-value of the type Bitmap to which the function draws.
x, y
The coordinates of the left top corner of the icon.
The icon (the type Icon) to be drawn.
A parameter of the Bool type. It determines which of the two images of the icon is to be drawn. If its value is TRUE, the second image is drawn, otherwise, the first image is drawn. If the icon contains only one image, the parameter is ignored.

Return Value

The return value is an l-value referring to the modified bitmap.