miFillPolygon(D3nfb)
miFillPolygon --
draw a filled polygon
Synopsis
void
miFillPolygon(dst, pgc, shape, mode, nPoints, pPts)
    DrawablePtr		pDrawable;
    GCPtr		pGC;
    int			shape, mode;
    int			nPoints;
    DDXPointPtr		pPoints;
Description
miFillPolygon( )
Arguments
 - 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.
 - pGC
- 
points to an X GC structure.
With routines that have a GC pointer
as their first argument,
the alu,planemask, andfgcolors
are extracted from this structure.
Also, all information associated with the stipple,
including a pointer to its image,
is extracted from this structure.
 - shape
- 
indicates the shape of the polygon.
Convex shapes are special cases.
See the x.h header file for more information.
 - mode
- 
specifies the coordinate mode.
See the x.h header file for more information.
 - nPoints
- 
points to an array of points that define
the vertices of the polygon.
Exit codes
None
Usage notes
Drivers that use
miFillPolygon( )
must populate the FillPolygons member
of the
nfbGCOps(D4nfb)
structure with this information.
Version applicability
This function is supported for NFB drivers
on all releases of SCO OpenServer 5, SVR5, and AIX 5L.
Source files
 Routine source
- 
./mi/poly.c
References
FillPolygons(D3nfb),
nfbGCOps(D4nfb)
19 June 2005
© 2005 The SCO Group, Inc.  All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005