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__
12 #include <QtGui> // For QPainter
13 #include "glyphpoints.h" // For IPoint
19 point(float xx = 0, float yy = 0): x(xx), y(yy) {}
22 void Bezier(QPainter &, point, point, point);
23 void Bezier(QPainter &, IPoint, IPoint, IPoint);
24 void DrawRoundDot(QPainter &, int32_t, int32_t);
25 void DrawSquareDot(QPainter &, int32_t, int32_t);
26 void DrawRoundDotN(QPainter &, int32_t, int32_t, uint32_t);
27 void DrawSquareDotN(QPainter &, int32_t, int32_t, uint32_t);
29 #endif // __GRAPHICPRIMITIVES_H__