Doxygen Source Code Documentation
glutbitmap.h
Go to the documentation of this file.00001 #ifndef __glutbitmap_h__ 00002 #define __glutbitmap_h__ 00003 00004 /* Copyright (c) Mark J. Kilgard, 1994. */ 00005 00006 /* This program is freely distributable without licensing fees 00007 and is provided without guarantee or warrantee expressed or 00008 implied. This program is -not- in the public domain. */ 00009 00010 #include <GL/gl.h> 00011 00012 typedef struct { 00013 GLsizei width; 00014 GLsizei height; 00015 GLfloat xorig; 00016 GLfloat yorig; 00017 GLfloat advance; 00018 GLubyte *bitmap; 00019 } BitmapCharRec, *BitmapCharPtr; 00020 00021 typedef struct { 00022 char *name; 00023 int num_chars; 00024 int first; 00025 BitmapCharPtr *ch; 00026 } BitmapFontRec, *BitmapFontPtr; 00027 00028 typedef void *GLUTbitmapFont; 00029 00030 #endif /* __glutbitmap_h__ */