NFB routine to set clip regions
void xxxSetClipRegions (
sets the hardware clip regions
on the graphics adapter.
The arguments are:
points to an
nbox series of
that contain the areas to which the clip must be set.
pbox supplies coordinates for the clip regions to be set.
contains the number of clip rectangles to be set,
which is the number of
If your hardware only supports one clip rectangle,
then only one rectangle will be passed to this routine.
nbox is equal to zero,
the clip rectangle is reset
to its default size for the full screen.
this value will be less than or equal to
clip_count value in the
pointer to an X structure called DrawableRec.
This pointer is only used to access
your screen private data.
The ScreenRec structure is pointed to
Your screen private is connected to the bottom of ScreenRec.
The driver writer may provide this routine
if this functionality can be done by
the graphics hardware.
This function is supported for NFB drivers
on all releases of SCO OpenServer 5, SVR5, and AIX 5L.
Driver source file
nfbWinOps structure in xxxData.c
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005