1 #ifndef __glutstroke_h__
2 #define __glutstroke_h__
4 /* Copyright (c) Mark J. Kilgard, 1994. */
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. */
11 #pragma warning (disable:4244) /* disable bogus conversion warnings */
12 #pragma warning (disable:4305) /* VC++ 5.0 version of above warning. */
18 } CoordRec, *CoordPtr;
22 const CoordRec *coord;
23 } StrokeRec, *StrokePtr;
27 const StrokeRec *stroke;
30 } StrokeCharRec, *StrokeCharPtr;
35 const StrokeCharRec *ch;
38 } StrokeFontRec, *StrokeFontPtr;
40 typedef void *GLUTstrokeFont;
42 /* for xscreensaver */
43 extern void glutStrokeCharacter (GLUTstrokeFont font, int c);
44 extern int glutStrokeWidth (GLUTstrokeFont font, int c);
45 extern int glutStrokeLength (GLUTstrokeFont font, const unsigned char *string);
47 #endif /* __glutstroke_h__ */