home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
NEWS
/
RADIANCE
/
SRC
/
COMMON
/
FONT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-07
|
647b
|
27 lines
/* Copyright (c) 1992 Regents of the University of California */
/* SCCSid "@(#)font.h 2.3 6/24/92 LBL" */
/*
* Header file for font handling routines
*/
typedef unsigned char GORD;
typedef struct {
short nverts; /* number of vertices */
GORD left, right, top, bottom; /* glyph extent */
/* followed by vertex list */
} GLYPH;
#define gvlist(g) ((GORD *)((g)+1))
typedef struct font {
GLYPH *fg[256]; /* font glyphs */
short mwidth, mheight; /* mean glyph width and height */
char *name; /* font file name */
struct font *next; /* next font in list */
} FONT;
extern FONT *getfont();