ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/font.h
Revision: 2.3
Committed: Wed Jun 24 17:52:59 1992 UTC (31 years, 10 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 2.2: +1 -0 lines
Log Message:
finally got proptext() working

File Contents

# User Rev Content
1 greg 2.1 /* Copyright (c) 1992 Regents of the University of California */
2    
3     /* SCCSid "$SunId$ LBL" */
4    
5     /*
6     * Header file for font handling routines
7     */
8    
9     typedef unsigned char GORD;
10    
11     typedef struct {
12     short nverts; /* number of vertices */
13 greg 2.2 GORD left, right, top, bottom; /* glyph extent */
14 greg 2.1 /* followed by vertex list */
15     } GLYPH;
16    
17     #define gvlist(g) ((GORD *)((g)+1))
18    
19     typedef struct font {
20     GLYPH *fg[256]; /* font glyphs */
21 greg 2.3 short mwidth, mheight; /* mean glyph width and height */
22 greg 2.1 char *name; /* font file name */
23     struct font *next; /* next font in list */
24     } FONT;
25    
26     extern FONT *getfont();