| Line |  | 
|---|
| 1 | /* $Id: glutbitmap.h,v 1.2 2000-02-09 08:46:19 jeroen Exp $ */ | 
|---|
| 2 | #ifndef __glutbitmap_h__ | 
|---|
| 3 | #define __glutbitmap_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 | #include "gl.h" | 
|---|
| 12 |  | 
|---|
| 13 | typedef struct { | 
|---|
| 14 | const GLsizei width; | 
|---|
| 15 | const GLsizei height; | 
|---|
| 16 | const GLfloat xorig; | 
|---|
| 17 | const GLfloat yorig; | 
|---|
| 18 | const GLfloat advance; | 
|---|
| 19 | const GLubyte *bitmap; | 
|---|
| 20 | } BitmapCharRec, *BitmapCharPtr; | 
|---|
| 21 |  | 
|---|
| 22 | typedef struct { | 
|---|
| 23 | const char *name; | 
|---|
| 24 | const int num_chars; | 
|---|
| 25 | const int first; | 
|---|
| 26 | const BitmapCharRec * const *ch; | 
|---|
| 27 | } BitmapFontRec, *BitmapFontPtr; | 
|---|
| 28 |  | 
|---|
| 29 | #include "glut.h" | 
|---|
| 30 |  | 
|---|
| 31 | typedef void *GLUTbitmapFont; | 
|---|
| 32 |  | 
|---|
| 33 | #endif /* __glutbitmap_h__ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.