VgaGames4

VgaGames4 - image man-pages

[.. upper level ..]

# vg4->image->draw_circle()

Draw a circle onto an image.

SYNTAX
void vg4->image->draw_circle(struct VG_Image *imgp, int xm, int ym, int radius, int color, VG_BOOL fill)
FUNCTION PARAMETERS

imgp | Image
xm | x-coordinate of center
ym | y-coordinate of center
radius | Radius of circle
color | Circle color: one of VG_COLORS or from VG_COLOR_RGB()
fill | Whether to fill circle

DESCRIPTION
Draw a circle onto an image.
SEE ALSO
vg4->image->draw_point() vg4->image->draw_points() vg4->image->draw_line() vg4->image->draw_rect()