al_draw_rounded_rectangle
void al_draw_rounded_rectangle(float x1, float y1, float x2, float y2,
float rx, float ry, ALLEGRO_COLOR color, float thickness)
Introduced in 5.0.0
Draws an outlined 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
- thickness - Thickness of the lines, pass
<= 0
to draw hairline lines
See also: al_draw_filled_rounded_rectangle, al_draw_rectangle
Examples: ex_prim, ex_threads
Most helpful discussions:
- Mouse Addon causing program crash
- Need help with structs
- GAME MENU
- Getting parameter problems.
- One if condition is wrecking my game loop
- BITMAP quality gets reduced
- Anti-aliasing is not working
- Need help with input_feild();
- Need help with input_feild();
- please somebody help me with al_draw_rounded_rectangle();
Other recent discussions:
- Install Allegro 5.2.4.1 on Win10
- Memory leak in allegro5
- I have some questions about mouse routines
- Problems deleting bitmap
- Show and Remove Text with the same key
- Having problems setting up Allegro.
- Error unning test code after installing allegro
- in game messagebox ?
- How to remove magnetic effect in collision!
- [urgent] 2-d Side Scroller Game in CPP