MSP Graphics Library
|
Functions | |
void | Graphics_drawCircle (const Graphics_Context *context, int32_t x, int32_t y, int32_t radius) |
void | Graphics_fillCircle (const Graphics_Context *context, int32_t x, int32_t y, int32_t radius) |
void Graphics_drawCircle | ( | const Graphics_Context * | context, |
int32_t | x, | ||
int32_t | y, | ||
int32_t | radius | ||
) |
Draws a circle.
context | is a pointer to the drawing context to use. |
x | is the X coordinate of the center of the circle. |
y | is the Y coordinate of the center of the circle. |
radius | is the radius of the circle. |
This function draws a circle, utilizing the Bresenham circle drawing algorithm. The extent of the circle is from x - radius to x + radius and y - radius to y + radius, inclusive.
void Graphics_fillCircle | ( | const Graphics_Context * | context, |
int32_t | x, | ||
int32_t | y, | ||
int32_t | radius | ||
) |
Draws a filled circle.
context | is a pointer to the drawing context to use. |
x | is the X coordinate of the center of the circle. |
y | is the Y coordinate of the center of the circle. |
radius | is the radius of the circle. |
This function draws a filled circle, utilizing the Bresenham circle drawing algorithm. The extent of the circle is from x - radius to x + radius and y - radius to y + radius, inclusive.