SYNOPSIS

  • #include <allegro5/allegro_primitives.h>
    
    void al_draw_circle(float cx, float cy, float r, ALLEGRO_COLOR color,
       float thickness)
    
    

DESCRIPTION

Draws an outlined circle.

Parameters:

\[bu]

cx, cy - Center of the circle

\[bu]

r - Radius of the circle

\[bu]

color - Color of the circle

\[bu]

thickness - Thickness of the circle, pass <= 0 to draw a hairline circle

RELATED TO al_draw_circle…

al_draw_filled_circle(3alleg5), al_draw_ellipse(3alleg5)