Sfairadora

  • Reference Guide

draw_ellipse

var_bmp <- draw_ellipse(x, y, rx, ry, fill)
var_bmp <- draw_ellipse(x, y, rx, ry, fill, outline)
The var_bmp parameter is an l-value referring to a variable of the type Bitmap. The function draws an ellipse to the bitmap.

Parameters

var_bmp
An l-value of the type Bitmap to which the function draws.
x, y
The coordinates of the ellipse center.
rx, ry
The lengths of the horizontal and vertical half-axis. (If the both values are the same, a circle with that radius is drawn).
fill
The fill of the ellipse.
outline
The line style of the ellipse.

Return Value

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