home *** CD-ROM | disk | FTP | other *** search
/ Amiga Magazin: Amiga-CD 2000 April & May / AMIGA_2000_04.iso / patches / mesa3.1 / mesa-glut.lha / src-glut.aos / glutStroke.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-09-16  |  765 b   |  38 lines

  1. #ifndef __glutstroke_h__
  2. #define __glutstroke_h__
  3.  
  4. /* Copyright (c) Mark J. Kilgard, 1994. */
  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. typedef struct {
  11.   float x;
  12.   float y;
  13. } CoordRec, *CoordPtr;
  14.  
  15. typedef struct {
  16.   int num_coords;
  17.   const CoordRec *coord;
  18. } StrokeRec, *StrokePtr;
  19.  
  20. typedef struct {
  21.   int num_strokes;
  22.   const StrokeRec *stroke;
  23.   float center;
  24.   float right;
  25. } StrokeCharRec, *StrokeCharPtr;
  26.  
  27. typedef struct {
  28.   const char *name;
  29.   int num_chars;
  30.   const StrokeCharRec *ch;
  31.   float top;
  32.   float bottom;
  33. } StrokeFontRec, *StrokeFontPtr;
  34.  
  35. typedef void *GLUTstrokeFont;
  36.  
  37. #endif /* __glutstroke_h__ */
  38.