al_draw_filled_rounded_rectangle
void al_draw_filled_rounded_rectangle(float x1, float y1, float x2, float y2,
float rx, float ry, ALLEGRO_COLOR color)
Introduced in 5.0.0
Draws an filled rounded rectangle.
Parameters:
- x1, y1, x2, y2 - Upper left and lower right points of the rectangle
- color - Color of the rectangle
- rx, ry - The radii of the round
See also: al_draw_rounded_rectangle, al_draw_filled_rectangle
Examples: ex_prim, ex_threads
Most helpful discussions:
- Soft corners (1)
- Memory leak in allegro5
- in game messagebox ?
- Drawing moving text
- Help - Error - Assertion failed: rx >= 0...
- Python port example game proposal
- Strange artifacts...
- Jump Pacman test needed
- My first game! (pong)
- [A4] Old tile smooth scrolling code by Elias Pschernig from 1999
Other recent discussions: