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.

glutstroke.h 938B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef __glutstroke_h__
  2. #define __glutstroke_h__
  3. /* Copyright (c) Mark J. Kilgard, 1994. */
  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. #if defined(_WIN32)
  8. #pragma warning (disable:4244) /* disable bogus conversion warnings */
  9. #pragma warning (disable:4305) /* VC++ 5.0 version of above warning. */
  10. #endif
  11. typedef struct {
  12. float x;
  13. float y;
  14. } CoordRec, *CoordPtr;
  15. typedef struct {
  16. int num_coords;
  17. const CoordRec *coord;
  18. } StrokeRec, *StrokePtr;
  19. typedef struct {
  20. int num_strokes;
  21. const StrokeRec *stroke;
  22. float center;
  23. float right;
  24. } StrokeCharRec, *StrokeCharPtr;
  25. typedef struct {
  26. const char *name;
  27. int num_chars;
  28. const StrokeCharRec *ch;
  29. float top;
  30. float bottom;
  31. } StrokeFontRec, *StrokeFontPtr;
  32. typedef void *GLUTstrokeFont;
  33. #endif /* __glutstroke_h__ */