VgaGames 3 - Video man-pages

[.. upper level ..]

VG3_draw_rect()

Draw a rectangle onto an image or the window.
SYNTAX
void VG3_draw_rect(struct vg3_window *wstruct, struct vg3_image *imgdst, struct vg3_rect *rect, int fill, int color)

FUNCTION PARAMETERS
wstruct Window-struct
imgdst Image, or NULL = window
rect Rectangle
fill Whether to fill the rectangle
color Rectangle color (from VGAG3_COLORS or VGAG3_COLOR_CUSTOM)

DESCRIPTION
Draw a rectangle onto an image or the window with the given color.

SEE ALSO
VG3_draw_clear() VG3_draw_point() VG3_draw_line() VG3_draw_text() VG3_draw_colorchange() VG3_draw_colorize()