![]() |
Display Simple Graphics library
v0.5
Library containing shape, text, and bitmap drawing functions called by various display drivers
|
#include "simplegfx.h"Functions | |
| void | drawCircleHelper (screen_t *dev, int x0, int y0, int r, char cornername, int color) |
| Helper function used to help draw circles and rectangles with rounded corners. More... | |
| void drawCircleHelper | ( | screen_t * | dev, |
| int | x0, | ||
| int | y0, | ||
| int | r, | ||
| char | cornername, | ||
| int | color | ||
| ) |
Helper function used to help draw circles and rectangles with rounded corners.
| dev | Pointer to the display's device structure returned by the initialization function. |
| x0 | Horizontal coordinate of the center of the arc, counted from the left side of the screen. |
| y0 | Vertical coordinate of the center of the arc, counted down from the top of the screen. |
| r | Radius of the arc. |
| cornername | Which corner (arc) to draw |
| color | Color of the shape, in the format native to the display. |
1.8.14