made sure the windows back-pixmap is NULL
[gl-cairo-cube.git] / geometry.h
blob4f14bedf7f6a2d282d574e625c03df1c019bb580
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, 2006/2007, 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
41 advance (Point* pPoint);
43 #endif /* _GEOMETRY_H */