#ifndef __GRAPHICPRIMITIVES_H__
#define __GRAPHICPRIMITIVES_H__
-#include <wx/wx.h> // For device context
+#include <QtGui> // For QPainter
#include "types.h" // For int32
struct point
point(float xx = 0, float yy = 0): x(xx), y(yy) {}
};
-void Bezier(wxDC &, point, point, point);
-void DrawRoundDot(wxDC &, int32, int32);
-void DrawSquareDot(wxDC &, int32, int32);
-void DrawRoundDotN(wxDC &, int32, int32, uint32);
-void DrawSquareDotN(wxDC &, int32, int32, uint32);
+void Bezier(QPainter &, point, point, point);
+void DrawRoundDot(QPainter &, int32, int32);
+void DrawSquareDot(QPainter &, int32, int32);
+void DrawRoundDotN(QPainter &, int32, int32, uint32);
+void DrawSquareDotN(QPainter &, int32, int32, uint32);
#endif // __GRAPHICPRIMITIVES_H__