VG3_draw_rect()
Draw a rectangle onto an image or the window.SYNTAX
void
VG3_draw_rect(void *wstruct,
void *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