SYNOPSIS

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

DESCRIPTION

Draws an outlined ellipse.

Parameters:

\[bu]

cx, cy - Center of the ellipse

\[bu]

rx, ry - Radii of the ellipse

\[bu]

color - Color of the ellipse

\[bu]

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

RELATED TO al_draw_ellipse…

al_draw_filled_ellipse(3alleg5), al_draw_circle(3alleg5)