#include <ggi/ggi.h> int ggiSetGCClipping(ggi_visual_t vis, int left, int top, int right, int bottom); int ggiGetGCClipping(ggi_visual_t vis, int *left, int *top, int *right, int *bottom);
Initially the clipping rectangle is the whole virtual screen.
All LibGGI drawing primitives obey the clipping rectangle. Negative coordinates given to LibGGI drawing functions will be clipped correctly.
ggiGetGCClipping reads the coordinates of the current clipping rectangle.