4 // Various graphic functions that are slightly more complex than those that
5 // come with various widget libraries.
8 #ifndef __GRAPHICPRIMITIVES_H__
9 #define __GRAPHICPRIMITIVES_H__
11 #include <QtGui> // For QPainter
12 #include "types.h" // For int32
18 point(float xx = 0, float yy = 0): x(xx), y(yy) {}
21 void Bezier(QPainter &, point, point, point);
22 void DrawRoundDot(QPainter &, int32, int32);
23 void DrawSquareDot(QPainter &, int32, int32);
24 void DrawRoundDotN(QPainter &, int32, int32, uint32);
25 void DrawSquareDotN(QPainter &, int32, int32, uint32);
27 #endif // __GRAPHICPRIMITIVES_H__