#include <ggi/ggi.h>
int ggiDrawBox(ggi_visual_t vis, int x, int y, int w, int h);
int ggiDrawBox
int ggiPutBox(ggi_visual_t vis, int x, int y, int w, int h, void *buf);
int ggiPutBox
int ggiGetBox(ggi_visual_t vis, int x, int y, int w, int h, void *buf);
int ggiGetBox
Draw, put, or get a rectangle at (x,y), extending w pixels in the positive x direction and h pixels in the positive y direction.
All three functions return 0 to indicate success. Any other value indicates an error.