NFB routine to replicate part of a pixmap
void nfbReplicateArea (
unsigned int tilew,
unsigned int tileh,
unsigned long planemask,
replicates a portion of the pixmap
pointed to by
pDraw throughout the
screen area pointed to by
The arguments are:
points to a
the final size of the pattern-filled rectangle.
specifies the width and height
of the portion of the tile that must exist when
The complete coordinates of that initial pattern
are therefore (
pbox->x1 + tilew,
pbox->y1 + tileh).
can be applied with this operation (planemask refers to the
window planes to be affected).
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.
nfbReplicateArea is very useful for
drawing both tiles and opaque stipples.
It can only be used in situations where
alu needed for the drawing operation
does not require mixing the source pixel with the destination pixel,
such as when the
In such cases, the source pixel will clobber the destination pixel.
This function is supported for NFB drivers
on all releases of SCO OpenServer 5, SVR5, and AIX 5L.
Driver source file
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005