Skip to content

Draw_ellipse_perfect

hugh greene edited this page Jun 20, 2022 · 1 revision

Description

Draws a perfect ellipse in the given region. This function doesn't take precision into account.

Parameters

  • (x1,y1): is the starting point where the ellipse is drawn, typically the top left corner
  • (x2,y2): is the ending point of the ellipse, typically the bottom right corner
  • outline: indicates whether to only draw the outline (true) or fill the ellipse (false).

Return Values

none

Example Call

// example usage of the function
draw_set_color(c_red);
draw_ellipse(100, 100, 132, 116, false);

NOTOC

Clone this wiki locally