DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

genTiledFillRects(D3nfb)


genTiledFillRects, genStippledFillRects, genOpStippledFillRects -- fill rectangles

Synopsis

void
genTiledFillRects(
	GCPtr pGC,
	DrawablePtr pDraw,
	BoxPtr pbox,
	unsigned int nbox )
	
void
genStippledFillRects(
	GCPtr pGC,
	DrawablePtr pDraw,
	BoxPtr pbox,
	unsigned int nbox )

void genOpStippledFillRects( GCPtr pGC, DrawablePtr pDraw, BoxPtr pbox, unsigned int nbox )

Description

These routines

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.

pbox

pbox
points to a BoxRec(D4nfb) that describes the final size of the pattern-filled rectangle.

tilew and tileh
specifies the width and height of the portion of the tile that must exist when nfbReplicateArea( ) is called. The complete coordinates of that initial pattern are therefore (pbox->x1, pbox->y1) and (pbox->x1 + tilew, pbox->y1 + tileh).

nbox

nbox
number of tiled rectangles to be drawn.

Exit codes

None.

Usage notes

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/genFillRct.c

Driver source file

References

nfbGCOps(D4nfb)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005