xxx is the routine's prefix.
Valid values are gen to use the default routine
or your driver's prefix if you are rewriting this routine
to use the specific capabilities of your hardware.
void xxxDrawSolidRects (
unsigned int nbox,
unsigned long fg,
unsigned char alu,
unsigned long planemask,
DrawablePtr pDrawable );
with the color specified by
The arguments are:
describes the rectangular area
in which the image should appear in the frame buffer.
pbox points to an X structure called a
where the last pixel of the image should appear.
This means that the pixel width
can be determined by subtracting
and the height by subtracting
This is how the X server deals with rectangular coordinates
at the lowest level.
Your Link Kit driver will never have to deal
with situations where the rectangle's width or height
are less than or equal to zero
so it is not necessary to add code
to check these values.
number of rectangles.
color to which a set bit must be expanded before the
planemask values are applied.
is the raster bit operation
that is to be applied when mixing
image with the contents of the frame buffer.
``alu'' in Developing NFB graphics adapter drivers.
contains a value that determines
which frame buffer planes get modified
when drawing this image.
If a bit is set, the plane will be modified.
If no bits are set, the plane will not be modified.
Almost all X drawing operations use a
that specifies modification of all planes.
pointer to a DrawableRec X structure
that is used to access
your screen private data.
structure is pointed to
Your screen private is connected to the bottom of ScreenRec.
works for 1, 8, 16, and 32 bits-per-pixel adapters.
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