diff --git a/JoeyLib-Drawing-Functions.md b/JoeyLib-Drawing-Functions.md index 6a70f78..37f9f59 100644 --- a/JoeyLib-Drawing-Functions.md +++ b/JoeyLib-Drawing-Functions.md @@ -18,6 +18,12 @@ void jlDrawBoxFilled(int x1, int y1, int x2, int y2); ``` Draws a hollow rectangle from (x1, y1) to (x2, y2). +#### jlDrawCircle +```c +void jlDrawCircle(int x, int y, int radius); +``` +Draws a circle of the given size at the given coordinates. Unlike the majority of drawing routines, a portion of the circle may extend off the screen and will be clipped. Clipped circles are much slower to draw. + #### jlDrawClear ```c void jlDrawClear(void); @@ -30,6 +36,12 @@ void jlDrawColor(byte index); ``` Specifies the color to use for the following draw functions. Colors are specified by their index position in the current palette. +#### jlDrawEllipse +```c +void jlDrawEllipse(int x1, int y1, int x2, int y2); +``` +Draws an ellipse that fills the box represented by (x1, y1) to (x2, y2). + #### jlDrawFill ```c void jlDrawFill(int x, int y);