home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mesa5.zip / mesa5src.zip / MesaDLL / GL / glutbitmap.h < prev    next >
C/C++ Source or Header  |  1999-08-19  |  877b  |  33 lines

  1. #ifndef __glutbitmap_h__
  2. #define __glutbitmap_h__
  3.  
  4. /* Copyright (c) Mark J. Kilgard, 1994, 1998. */
  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. #define GLUT_NO_LIB_PRAGMA  /* Avoid auto library linking when building
  11.                                the GLUT library itself. */
  12. #include <GL/glut.h>
  13.  
  14. typedef struct {
  15.   const GLsizei width;
  16.   const GLsizei height;
  17.   const GLfloat xorig;
  18.   const GLfloat yorig;
  19.   const GLfloat advance;
  20.   const GLubyte *bitmap;
  21. } BitmapCharRec, *BitmapCharPtr;
  22.  
  23. typedef struct {
  24.   const char *name;
  25.   const int num_chars;
  26.   const int first;
  27.   const BitmapCharRec * const *ch;
  28. } BitmapFontRec, *BitmapFontPtr;
  29.  
  30. typedef void *GLUTbitmapFont;
  31.  
  32. #endif /* __glutbitmap_h__ */
  33.