1 #ifndef __glutstroke_h__
2 #define __glutstroke_h__
3 
4 /* Copyright (c) Mark J. Kilgard, 1994. */
5 
6 /* This program is freely distributable without licensing fees
7    and is provided without guarantee or warrantee expressed or
8    implied. This program is -not- in the public domain. */
9 
10 #if defined(WIN32)
11 #pragma warning (disable:4244)
12 #endif
13 
14 typedef struct {
15   float x;
16   float y;
17 } CoordRec, *CoordPtr;
18 
19 typedef struct {
20   int num_coords;
21   const CoordRec *coord;
22 } StrokeRec, *StrokePtr;
23 
24 typedef struct {
25   int num_strokes;
26   const StrokeRec *stroke;
27   float center;
28   float right;
29 } StrokeCharRec, *StrokeCharPtr;
30 
31 typedef struct {
32   const char *name;
33   int num_chars;
34   const StrokeCharRec *ch;
35   float top;
36   float bottom;
37 } StrokeFontRec, *StrokeFontPtr;
38 
39 typedef void *GLUTstrokeFont;
40 
41 #endif /* __glutstroke_h__ */
42