2004-02-04 02:35:57 +00:00
|
|
|
#ifndef __ruamoko_gui_Point_h
|
|
|
|
#define __ruamoko_gui_Point_h
|
2002-08-17 05:27:34 +00:00
|
|
|
|
2011-07-10 08:33:43 +00:00
|
|
|
/** \addtogroup gui */
|
2020-02-11 06:20:49 +00:00
|
|
|
///@{
|
2011-07-10 08:33:43 +00:00
|
|
|
|
2010-11-17 06:50:07 +00:00
|
|
|
struct Point {
|
2011-03-25 07:46:32 +00:00
|
|
|
int x;
|
|
|
|
int y;
|
2010-11-17 06:50:07 +00:00
|
|
|
};
|
2002-08-17 05:27:34 +00:00
|
|
|
|
2010-11-17 06:50:07 +00:00
|
|
|
typedef struct Point Point;
|
2002-08-17 05:27:34 +00:00
|
|
|
|
2011-03-25 07:46:32 +00:00
|
|
|
@extern Point makePoint (int x, int y);
|
2010-11-17 06:50:07 +00:00
|
|
|
@extern Point addPoint (Point a, Point b);
|
|
|
|
@extern Point subtractPoint (Point a, Point b);
|
2002-08-17 05:27:34 +00:00
|
|
|
|
2020-02-11 06:20:49 +00:00
|
|
|
///@}
|
2011-07-10 08:33:43 +00:00
|
|
|
|
2004-02-04 02:35:57 +00:00
|
|
|
#endif //__ruamoko_gui_Point_h
|