--- /dev/null
+//\r
+// Graphics primitives\r
+//\r
+// Various graphic functions that are slightly more complex than those that\r
+// come with various widget libraries.\r
+//\r
+\r
+#ifndef __GRAPHICPRIMITIVES_H__\r
+#define __GRAPHICPRIMITIVES_H__\r
+\r
+#include <wx/wx.h> // For device context\r
+#include "types.h" // For int32\r
+\r
+struct point\r
+{\r
+ float x, y;\r
+\r
+ point(float xx = 0, float yy = 0): x(xx), y(yy) {}\r
+};\r
+\r
+void Bezier(wxDC &, point, point, point);\r
+void DrawRoundDot(wxDC &, int32, int32);\r
+void DrawSquareDot(wxDC &, int32, int32);\r
+void DrawRoundDotN(wxDC &, int32, int32, uint32);\r
+void DrawSquareDotN(wxDC &, int32, int32, uint32);\r
+\r
+#endif // __GRAPHICPRIMITIVES_H__\r