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 10c041511dScube#if defined(_WIN32) 11c041511dScube#pragma warning (disable:4244) /* disable bogus conversion warnings */ 12c041511dScube#pragma warning (disable:4305) /* VC++ 5.0 version of above warning. */ 13c041511dScube#endif 14c041511dScube 15c041511dScubetypedef struct { 16c041511dScube float x; 17c041511dScube float y; 18c041511dScube} CoordRec, *CoordPtr; 19c041511dScube 20c041511dScubetypedef struct { 21c041511dScube int num_coords; 22c041511dScube const CoordRec *coord; 23c041511dScube} StrokeRec, *StrokePtr; 24c041511dScube 25c041511dScubetypedef struct { 26c041511dScube int num_strokes; 27c041511dScube const StrokeRec *stroke; 28c041511dScube float center; 29c041511dScube float right; 30c041511dScube} StrokeCharRec, *StrokeCharPtr; 31c041511dScube 32c041511dScubetypedef struct { 33c041511dScube const char *name; 34c041511dScube int num_chars; 35c041511dScube const StrokeCharRec *ch; 36c041511dScube float top; 37c041511dScube float bottom; 38c041511dScube} StrokeFontRec, *StrokeFontPtr; 39c041511dScube 40c041511dScubetypedef void *GLUTstrokeFont; 41c041511dScube 42c041511dScube#endif /* __glutstroke_h__ */ 43