- draw a circle

Low-level graphics
(AFL 3.0)

SYNTAX GfxCircle( x, y, radius )
FUNCTION Draws a circle. The center of the circle is given by x and y parameters. The circle is drawn with the current pen, and its interior is filled with the current brush.


  • x - x-coordinate of the center of the circle
  • y - y-coordinate of the the center of the circle
  • radius - radius of the circle

This function is essentially the same as GfxEllipse( x - radius, y - radius, x + radius, y + radius );

NOTE: This is LOW-LEVEL graphic function. To learn more about low-level graphic functions please read TUTORIAL: Using low-level graphics.

EXAMPLE GfxCircle( 100, 100, 50 );
SEE ALSO GfxEllipse() function , GfxRoundRect() function , GfxSelectPen() function , GfxSelectSolidBrush() function


The GfxCircle function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference