StippledFS(D3nfb)
StippledFS --
routine for StippledFillSpans
Synopsis
void
xxxStippledFS(
GCPtr pGC,
DrawablePtr pDraw,
DDXPointPtr ppt,
unsigned int *pwidth,
unsigned int npts)
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.
Description
StippledFS( )
is the default routine for
StippledFillSpans( )
when the FillSpans
member of your
nfbGCOps(D4nfb)
structure is called.
The points are converted to a series of boxes
which are then drawn by the
xxxStippledFillRects( )
routine.
Arguments
pGC
-
points to an X GC structure.
With routines that have a GC pointer
as their first argument.
The
alu
, planemask
, and fg
colors
are extracted from this structure.
Also, all information associated with the stipple,
including a pointer to its image,
is extracted from this structure.
pDraw
-
pointer to an X structure called DrawableRec.
This pointer is only used to access
your screen private data.
The ScreenRec structure is pointed to
by
pDrawable->pScreen
.
Your screen private is connected to the bottom of ScreenRec.
ppt
-
points from which to start copying.
wpwidth
-
list of number of bits to copy.
npts
-
number of points to copy.
Exit codes
None
Version applicability
This function is supported for NFB drivers
on all releases of SCO OpenServer 5, SVR5, and AIX 5L.
Source files
Routine source-
./hw/sco/ports/gen/genFillSp.c
Driver source file-
xxxData.c
xxxRect.c
References
nfbGCOps(D4nfb)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005