| Line |  | 
|---|
| 1 | /* $Id: glutstroke.h,v 1.2 2000-02-09 08:46:20 jeroen Exp $ */ | 
|---|
| 2 | #ifndef __glutstroke_h__ | 
|---|
| 3 | #define __glutstroke_h__ | 
|---|
| 4 |  | 
|---|
| 5 | /* Copyright (c) Mark J. Kilgard, 1994. */ | 
|---|
| 6 |  | 
|---|
| 7 | /* This program is freely distributable without licensing fees | 
|---|
| 8 | and is provided without guarantee or warrantee expressed or | 
|---|
| 9 | implied. This program is -not- in the public domain. */ | 
|---|
| 10 |  | 
|---|
| 11 | #if defined(_WIN32) | 
|---|
| 12 | #pragma warning (disable:4244)  /* disable bogus conversion warnings */ | 
|---|
| 13 | #pragma warning (disable:4305)  /* VC++ 5.0 version of above warning. */ | 
|---|
| 14 | #endif | 
|---|
| 15 |  | 
|---|
| 16 | typedef struct { | 
|---|
| 17 | float x; | 
|---|
| 18 | float y; | 
|---|
| 19 | } CoordRec, *CoordPtr; | 
|---|
| 20 |  | 
|---|
| 21 | typedef struct { | 
|---|
| 22 | int num_coords; | 
|---|
| 23 | const CoordRec *coord; | 
|---|
| 24 | } StrokeRec, *StrokePtr; | 
|---|
| 25 |  | 
|---|
| 26 | typedef struct { | 
|---|
| 27 | int num_strokes; | 
|---|
| 28 | const StrokeRec *stroke; | 
|---|
| 29 | float center; | 
|---|
| 30 | float right; | 
|---|
| 31 | } StrokeCharRec, *StrokeCharPtr; | 
|---|
| 32 |  | 
|---|
| 33 | typedef struct { | 
|---|
| 34 | const char *name; | 
|---|
| 35 | int num_chars; | 
|---|
| 36 | const StrokeCharRec *ch; | 
|---|
| 37 | float top; | 
|---|
| 38 | float bottom; | 
|---|
| 39 | } StrokeFontRec, *StrokeFontPtr; | 
|---|
| 40 |  | 
|---|
| 41 | typedef void *GLUTstrokeFont; | 
|---|
| 42 |  | 
|---|
| 43 | #endif /* __glutstroke_h__ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.