DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

nfbGlyphInfo(D4nfb)


nfbGlyphInfo -- glyph image definition structure

Synopsis

#include "nfbGlyph.h"

Description

The nfbGlyphInfo structure contains all the information required to draw a glyph image.

Structure definition

typedef struct _nfbGlyphInfo {
	BoxRec box;
	int stride;
	unsigned char *image;
	unsigned int glyph_id;
} nfbGlyphInfo, *nfbGlyphInfoPtr;

Structure members

The members are:

box
rectangle in which the glyph should be drawn on the screen. Note that the glyph will never by clipped by the box.

stride
number of bytes from the start of one scan line to the start of the next scan line within image. See ``stride'' in Developing NFB graphics adapter drivers.

image
glyph bitmap to be drawn.

glyph_id
unique ID for this glyph within a particular font. This is a ``magic cookie'' value that is unique to this particular glyph within this font.

Version applicability

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

References

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