Display Simple Graphics library  v0.5
Library containing shape, text, and bitmap drawing functions called by various display drivers
Functions
fillCircleHelper.c File Reference
#include "simplegfx.h"

Functions

void fillCircleHelper (screen_t *dev, int x0, int y0, int r, char cornername, int delta, int color)
 Helper function used to draw filled circles and rectangles with rounded corners. More...
 

Function Documentation

◆ fillCircleHelper()

void fillCircleHelper ( screen_t dev,
int  x0,
int  y0,
int  r,
char  cornername,
int  delta,
int  color 
)

Helper function used to draw filled circles and rectangles with rounded corners.

Parameters
devPointer to the display's device structure returned by the initialization function.
x0Horizontal coordinate of the center of the arc, counted from the left side of the screen.
y0Vertical coordinate of the center of the arc, counted down from the top of the screen.
rRadius of the arc.
cornernameWhich corner (arc) to draw
deltaOffest from the center line (space between quarter circles) used for drawing rounded rectagles
colorColor of the shape, in the format native to the display.