IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcDrawCircle ( GcImage targetImage,
unsigned short  centerX,
unsigned short  centerY,
unsigned short  radius 
)

This function can be used to draw the edges of a circle onto an image or the frame buffer. The properties of the current pen influence the circle's appearance.

Parameters:
targetImage Pointer to the GcImage object to operate on; NULL for the frame buffer
centerX Designated x coordinate of the center of the circle
centerY Designated y coordinate of the center of the circle
radius Designated radius of the circle in pixels
Returns:
One of the following error codes is returned:
Since:
1.00
Targets:

GC01

GC04

X

X

See also:
gcFillCircle, gcSetPen
Examples:
example07.c.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1