Draw_ellipse - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC {{-}} This function is part of the function set Drawing shapes

Notation

Description

Draw an ellipse using brush color/alpha at (x1, y1) to (x2, y2). If outline is true the ellipse is not filled in.

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

draw_set_color(c_red);
draw_ellipse(100, 100, 132, 116, false);