ups, was missing the -f
[gl-cairo-simple.git] / geometry.h
blob5c54ae9c06224f996062766bda5ecaf644a48dc6
1 /*******************************************************************************
2 **3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
3 ** 10 20 30 40 50 60 70 80
4 **
5 ** file:
6 ** geometry.h
7 **
8 ** author:
9 ** Mirco "MacSlow" Mueller <macslow@bangang.de>
11 ** copyright (C) Mirco Mueller, July 2006, placed under the terms of the GPL
13 *******************************************************************************/
15 #ifndef _GEOMETRY_H
16 #define _GEOMETRY_H
18 typedef struct _Point
20 double fX;
21 double fY;
22 int iGrowX;
23 int iGrowY;
24 double fStepX;
25 double fStepY;
26 double fLowerLimitX;
27 double fUpperLimitX;
28 double fLowerLimitY;
29 double fUpperLimitY;
30 } Point;
32 typedef struct _Line
34 Point start;
35 Point end;
36 } Line;
38 void advance (Point* pPoint);
40 #endif /* _GEOMETRY_H */