al_draw_circle
void al_draw_circle(float cx, float cy, float r, ALLEGRO_COLOR color,
float thickness)
Introduced in 5.0.0
Draws an outlined circle.
Parameters:
- cx, cy - Center of the circle
- r - Radius of the circle
- color - Color of the circle
- thickness - Thickness of the circle, pass
<= 0to draw a hairline circle
See also: al_draw_filled_circle, al_draw_ellipse
Examples: ex_transform
Most helpful discussions:
- What is the error in following little program
- can't compile after installing
- Why some Shaders don't work !
- How to use al_calc_elliptical_arc?
- ALLEGRO_TRANSFORM and Movement
- [a5] Multisampling not working in Direct3D
- [A5] What's the current, proper way to use both 2-D and 3-D functions
- ALLEGRO_EVENT_KEY_DOWN repeating
- Mouse Input offset?
- Having problems dont know what causes it.
Other recent discussions:
- Movement doesnt go on when holding button
- Having problems setting up Allegro.
- Error unning test code after installing allegro
- Vector size limit?
- Primitives drawing performace
- a grievance with the API...
- How to stop bouncing the ball
- game loop with Allegro 5
- A5 Linux to Windows (Porting Blues!)
- Huge performance decrease from A4 to A5