DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

nfbGCOps(D4nfb)


nfbGCOps -- no frame buffer graphics context ops structure

Synopsis

#include "nfbGCStr.h"

Description

The nfbGCOps structure is pointed to by a field in the GC private structure. The GC private ops procedures are grouped into this separate structure so that they can be easily switched at validate time, and so that smart device implementations can share these procedures between GCs. The sample implementation has one nfbGCOps structure for each fill style. Each different fill style uses a different nfbGCOps structure.

Structure definition

typedef struct _nfbGCOps {
	void (* FillRects) ();
	void (* FillSpans) ();
	void (* FillZeroSegs) ();
	void (* FillPolygons) ();
	void (* GCOp5) ();
	void (* GCOp6) ();
} nfbGCOps, *nfbGCOpsPtr ;

Structure members

FillZeroSegs and FillPolygons are currently used only for solid objects. Stippled and Tiled versions may be implemented later.

Version applicability

This structure is supported for NFB drivers on all releases of SCO OpenServer 5, SVR5, and AIX 5L.

References

FillRects(D3nfb), FillSpans(D3nfb), ZeroSegs(D3nfb). FillPolygons(D3nfb)

``Replace GC operations'' in Developing NFB graphics adapter drivers


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