![]() |
Display Simple Graphics library
v0.5
Library containing shape, text, and bitmap drawing functions called by various display drivers
|
#include "simplegfx.h"
Functions | |
void | drawCircle (screen_t *dev, int x0, int y0, int r, int color) |
Draws a circle in the specified color. More... | |
void drawCircle | ( | screen_t * | dev, |
int | x0, | ||
int | y0, | ||
int | r, | ||
int | color | ||
) |
Draws a circle in the specified color.
dev | Pointer to the display's device structure returned by the initialization function. |
x0 | Horizontal coordinate of the center of the circle, counted from the left side of the screen. |
y0 | Vertical coordinate of the center of the circle, counted down from the top of the screen. |
r | Radius of the circle. |
color | Color of the shape, in the format native to the display. |