NAME ==== vg_draw_box() - draw a filled or not filled rectangle SYNOPSIS ======== void vg_draw_box(bitmap * bmp, int x, int y, int w, int h, int col, int fill) DESCRIPTION =========== Draws a rectangle, regarding to fill filled or not filled. bmp is the bitmap, into which is drawed, or NULL for the window. x and y are the destination coordinates (left upper corner). w and h are the width and height of the rectangle, if w or h are 0, the rest of the width or height of bmp is used. col is the color-index for the rectangle. fill is 0=not filled or 1=filled. RETURN VALUE ============ No value is returned. SEE ALSO ======== Index Understanding drawing vg_draw_text() vg_draw_pixel() vg_draw_line() vg_draw_circle() vg_draw_fillout()