Last test... hopefully.
[gl-cairo-cube.git] / geometry.h
blob4b4ae645bf8734ec2d4d6b6901db13451e2c6d60
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 #include <gtk/gtk.h>
20 typedef struct _Point
22 gdouble fX;
23 gdouble fY;
24 gboolean bGrowX;
25 gboolean bGrowY;
26 gdouble fStepX;
27 gdouble fStepY;
28 gdouble fLowerLimitX;
29 gdouble fUpperLimitX;
30 gdouble fLowerLimitY;
31 gdouble fUpperLimitY;
32 } Point;
34 typedef struct _Line
36 Point start;
37 Point end;
38 } Line;
40 void advance (Point* pPoint);
42 #endif /* _GEOMETRY_H */