9 // Forward declarations
14 Painter(QPainter * p = 0);
17 void SetRenderHint(int);
19 void SetPen(uint32_t, float size = 0, int style = 0);
20 void SetBrush(QBrush);
21 void SetBrush(uint32_t);
23 void DrawAngledText(Vector, double, QString, double);
24 void DrawTextObject(Vector, QString, double, double angle = 0);
25 void DrawArc(Vector, double, double, double);
26 void DrawEllipse(Vector, double, double);
27 void DrawHandle(Vector);
28 void DrawCross(Vector);
29 void DrawRectCorners(Rect);
30 void DrawArrowHandle(Vector, double);
31 void DrawArrowToLineHandle(Vector, double);
32 void DrawLine(int, int, int, int);
33 void DrawLine(Vector, Vector);
34 void DrawPoint(int, int);
35 void DrawRoundedRect(QRectF, double, double);
36 void DrawPaddedRect(QRectF);
37 void DrawRect(QRectF);
38 void DrawText(QRectF, int, QString);
39 void DrawArrowhead(Vector, Vector, double);
40 void DrawCrosshair(Vector);
41 void DrawInformativeText(QString);
44 static Vector CartesianToQtCoords(Vector);
45 static Vector QtToCartesianCoords(Vector);
51 #endif // __PAINTER_H__