13#ifndef GFX_GP_CIRCLE_SEG_H
14#define GFX_GP_CIRCLE_SEG_H
uint32_t gp_pixel
Pixel integer value.
int gp_coord
Integer type for coordinates i.e. x, y, ...
unsigned int gp_size
Integer type for sizes i.e. w, h, ...
gp_circle_segments
Quadrants in the cartesian space.
@ GP_CIRCLE_SEG4
Fourth Quadrant.
@ GP_CIRCLE_SEG3
Third Quadrant.
@ GP_CIRCLE_SEG2
Second Quadrant.
@ GP_CIRCLE_SEG1
First Quadrant.
void gp_circle_seg(gp_pixmap *pixmap, gp_coord xcenter, gp_coord ycenter, gp_size r, uint8_t seg_flag, gp_pixel pixel)
Draws a circle segment.
void gp_fill_circle_seg(gp_pixmap *pixmap, gp_coord xcenter, gp_coord ycenter, gp_size r, uint8_t seg_flag, gp_pixel pixel)
Draws a filled circle segment.
void gp_fill_ring_seg(gp_pixmap *pixmap, gp_coord xcenter, gp_coord ycenter, gp_size r1, gp_size r2, uint8_t seg_flag, gp_pixel pixel)
Draws a filled ring segment.