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