1al_draw_rounded_rectangle(3)                      al_draw_rounded_rectangle(3)
2
3
4

NAME

6       al_draw_rounded_rectangle - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_primitives.h>
10
11              void al_draw_rounded_rectangle(float x1, float y1, float x2, float y2,
12                 float rx, float ry, ALLEGRO_COLOR color, float thickness)
13

DESCRIPTION

15       Draws an outlined rounded rectangle.
16
17       Parameters:
18
19       · x1, y1, x2, y2 - Upper left and lower right points of the rectangle
20
21       · color - Color of the rectangle
22
23       · rx, ry - The radii of the round
24
25       · thickness - Thickness of the lines, pass <= 0 to draw hairline lines
26

SEE ALSO

28       al_draw_filled_rounded_rectangle(3), al_draw_rectangle(3)
29
30
31
32Allegro reference manual                          al_draw_rounded_rectangle(3)
Impressum