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
<= 0
to draw a hairline circle
See also: al_draw_filled_circle, al_draw_ellipse
Examples: ex_transform
Most helpful discussions:
- Vivace extra points. Its there a better way of doing this one.
- Allegro5 and OpenGL. Problem with drawing Allegro primitives
- Math question (2d trig)
- why is my code failing
- Allegro Access Violation while Drawing
- Quick Question about MSAA
- Circles followng player
- Circle Collision Problems
- Allegro 5 Android high CPU usage
- Shader Puzzle aka Reverse Engineering cool effect
Other recent discussions:
- Virtual function does not work... (or i missed something(iprobably did))
- Unexpected error in primitive al_draw_circle (aka Return Of The Bad Programmer)
- Day and Night Cycles
- Install Allegro 5.2.4.1 on Win10
- Drawing antialiased primitives to bitmaps?
- How to draw pixels of bitmaps transparently upon collision
- DAllegro and D confusing output...
- What is the error in following little program
- can't compile after installing
- Why some Shaders don't work !