---
name: "circle"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/circle"
---

# circle(3alleg)

Draws a circle. Allegro game programming library.

## NAME

circle - Draws a circle. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**void circle(BITMAP \*bmp, int x, int y, int radius, int color);**

## DESCRIPTION

Draws a circle with the specified centre and radius.

## SEE ALSO

[**ellipse**(3alleg)](/ellipse/3alleg.md), [**arc**(3alleg)](/arc/3alleg.md), [**circlefill**(3alleg)](/circlefill/3alleg.md), [**do\_circle**(3alleg)](/do_circle/3alleg.md), [**drawing\_mode**(3alleg)](/drawing_mode/3alleg.md), [**makecol**(3alleg)](/makecol/3alleg.md), [**ex12bit**(3alleg)](/ex12bit/3alleg.md), [**exblend**(3alleg)](/exblend/3alleg.md), [**excustom**(3alleg)](/excustom/3alleg.md), [**exjoy**(3alleg)](/exjoy/3alleg.md), [**exmem**(3alleg)](/exmem/3alleg.md), [**exmouse**(3alleg)](/exmouse/3alleg.md), [**exquat**(3alleg)](/exquat/3alleg.md), [**exsprite**(3alleg)](/exsprite/3alleg.md)
