1al_draw_circle(3) al_draw_circle(3)
2
3
4
6 al_draw_circle - Allegro 5 API
7
9 #include <allegro5/allegro_primitives.h>
10
11 void al_draw_circle(float cx, float cy, float r, ALLEGRO_COLOR color,
12 float thickness)
13
15 Draws an outlined circle.
16
17 Parameters:
18
19 · cx, cy - Center of the circle
20
21 · r - Radius of the circle
22
23 · color - Color of the circle
24
25 · thickness - Thickness of the circle, pass <= 0 to draw a hairline
26 circle
27
29 al_draw_filled_circle(3), al_draw_ellipse(3)
30
31
32
33Allegro reference manual al_draw_circle(3)