Sfairadora

  • Reference Guide

draw_line

var_bmp <- draw_line(x1, y1, x2, y2, outline)
The var_bmp parameter is an l-value referring to a variable of the type Bitmap. The function draws a line to the bitmap.

Parameters

var_bmp
An l-value of the type Bitmap to which the function draws.
x1, y1
The coordinates of the beginning of the line.
x2, y2
The coordinates of the end of the line.
outline
The line style of the line.

Return Value

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