Update JoeyLib Drawing Functions

Scott Duensing 2018-09-14 00:14:40 +00:00
parent bc9f4ce3f0
commit 7369c064c9

@ -18,6 +18,12 @@ void jlDrawBoxFilled(int x1, int y1, int x2, int y2);
``` ```
Draws a hollow rectangle from (x1, y1) to (x2, 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 #### jlDrawClear
```c ```c
void jlDrawClear(void); 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. 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 #### jlDrawFill
```c ```c
void jlDrawFill(int x, int y); void jlDrawFill(int x, int y);