|
void bx_draw_box |
( |
bx_window |
win, |
|
|
int |
x, |
|
|
int |
y, |
|
|
unsigned |
w, |
|
|
unsigned |
h, |
|
|
int |
filled | |
|
) |
| | |
Draws a rectangle on the canvas of a window, whose interior may be filled or left empty.
- Parameters:
-
| win | the window owning the targeted canvas. |
| x,y | the coordinates of the top left corner of the rectangle. |
| w,h | the width and height of the rectangle |
| filled | whether the interior of the rectangle is filled (no-zero) or left empty (zero) |
- Returns:
- nothing
|