TiledFS(D3nfb)
TiledFS --
routine for TiledFillSpans
Synopsis
void
xxxTiledFS(
GCPtr pGC,
DrawablePtr pDraw,
DDXPointPtr ppt,
unsigned int *pwidth,
unsigned int npts)
Description
TiledFS( )
is called by
TiledFillSpans( )
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
TileRects(D3nfb)
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
-
pDrawable
-
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 drawing
pwidth
-
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
FillSpans(D3nfb),
nfbGCOps(D4nfb),
TileRects(D3nfb)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005