1c041511dScube#ifndef __glutstroke_h__
2c041511dScube#define __glutstroke_h__
3c041511dScube
4c041511dScube/* Copyright (c) Mark J. Kilgard, 1994. */
5c041511dScube
6c041511dScube/* This program is freely distributable without licensing fees
7c041511dScube   and is provided without guarantee or warrantee expressed or
8c041511dScube   implied. This program is -not- in the public domain. */
9c041511dScube
10553f1899Smrg#define GLUT_NO_LIB_PRAGMA  /* Avoid auto library linking when building
11553f1899Smrg                               the GLUT library itself. */
12553f1899Smrg#include <GL/glut.h>
13553f1899Smrg
142590f9beSmrg#if defined(_MSC_VER)
15c041511dScube#pragma warning (disable:4244)  /* disable bogus conversion warnings */
16c041511dScube#pragma warning (disable:4305)  /* VC++ 5.0 version of above warning. */
17c041511dScube#endif
18c041511dScube
19c041511dScubetypedef struct {
20c041511dScube  float x;
21c041511dScube  float y;
22c041511dScube} CoordRec, *CoordPtr;
23c041511dScube
24c041511dScubetypedef struct {
25c041511dScube  int num_coords;
26c041511dScube  const CoordRec *coord;
27c041511dScube} StrokeRec, *StrokePtr;
28c041511dScube
29c041511dScubetypedef struct {
30c041511dScube  int num_strokes;
31c041511dScube  const StrokeRec *stroke;
32c041511dScube  float center;
33c041511dScube  float right;
34c041511dScube} StrokeCharRec, *StrokeCharPtr;
35c041511dScube
36c041511dScubetypedef struct {
37c041511dScube  const char *name;
38c041511dScube  int num_chars;
39c041511dScube  const StrokeCharRec *ch;
40c041511dScube  float top;
41c041511dScube  float bottom;
42c041511dScube} StrokeFontRec, *StrokeFontPtr;
43c041511dScube
44c041511dScubetypedef void *GLUTstrokeFont;
45c041511dScube
46c041511dScube#endif /* __glutstroke_h__ */
47