BTRFS: Reimplement TreeIterator, add some error checks and remove redundancies.
[haiku.git] / src / libs / glut / glutstroke.h
blob12d3235f5aee77daeedba8abc140d10b510f8fe0
1 /*
2 * Copyright 1994-1997 Mark Kilgard, All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Mark Kilgard
7 */
8 #ifndef __glutstroke_h__
9 #define __glutstroke_h__
12 #if defined(_WIN32)
13 #pragma warning (disable:4244) /* disable bogus conversion warnings */
14 #pragma warning (disable:4305) /* VC++ 5.0 version of above warning. */
15 #endif
17 typedef struct {
18 float x;
19 float y;
20 } CoordRec, *CoordPtr;
22 typedef struct {
23 int num_coords;
24 const CoordRec *coord;
25 } StrokeRec, *StrokePtr;
27 typedef struct {
28 int num_strokes;
29 const StrokeRec *stroke;
30 float center;
31 float right;
32 } StrokeCharRec, *StrokeCharPtr;
34 typedef struct {
35 const char *name;
36 int num_chars;
37 const StrokeCharRec *ch;
38 float top;
39 float bottom;
40 } StrokeFontRec, *StrokeFontPtr;
42 typedef void *GLUTstrokeFont;
44 #endif /* __glutstroke_h__ */