Clone of mesa.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

glutbitmap.h 845B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef __glutbitmap_h__
  2. #define __glutbitmap_h__
  3. /* Copyright (c) Mark J. Kilgard, 1994, 1998. */
  4. /* This program is freely distributable without licensing fees
  5. and is provided without guarantee or warrantee expressed or
  6. implied. This program is -not- in the public domain. */
  7. #define GLUT_NO_LIB_PRAGMA /* Avoid auto library linking when building
  8. the GLUT library itself. */
  9. #include <GL/glut.h>
  10. typedef struct {
  11. const GLsizei width;
  12. const GLsizei height;
  13. const GLfloat xorig;
  14. const GLfloat yorig;
  15. const GLfloat advance;
  16. const GLubyte *bitmap;
  17. } BitmapCharRec, *BitmapCharPtr;
  18. typedef struct {
  19. const char *name;
  20. const int num_chars;
  21. const int first;
  22. const BitmapCharRec * const *ch;
  23. } BitmapFontRec, *BitmapFontPtr;
  24. typedef void *GLUTbitmapFont;
  25. #endif /* __glutbitmap_h__ */