8 //#define SCREEN_ZOOM (1.0 / 4.0)
10 // Forward declarations
15 Painter(QPainter * p = 0);
18 void SetRenderHint(int);
20 void SetPen(uint32_t, float size = 0, int style = 0);
21 void SetBrush(QBrush);
22 void SetBrush(uint32_t);
24 void DrawAngledText(Vector, double, QString, double);
25 void DrawTextObject(Vector, QString, double, double angle = 0);
26 void DrawArc(Vector, double, double, double);
27 void DrawEllipse(Vector, double, double);
28 void DrawHandle(Vector);
29 void DrawArrowHandle(Vector, double);
30 void DrawArrowToLineHandle(Vector, double);
31 void DrawLine(int, int, int, int);
32 void DrawLine(Vector, Vector);
33 void DrawPoint(int, int);
34 void DrawRoundedRect(QRectF, double, double);
35 void DrawPaddedRect(QRectF);
36 void DrawRect(QRectF);
37 void DrawText(QRectF, int, QString);
38 void DrawArrowhead(Vector, Vector, double);
39 void DrawCrosshair(Vector);
40 void DrawInformativeText(QString);
43 static Vector CartesianToQtCoords(Vector);
44 static Vector QtToCartesianCoords(Vector);
48 // static Vector origin; // The window origin, not location of the origin
49 // static double zoom; // Window zoom factor
50 // static Vector screenSize; // Width & height of the window we're drawing on
56 #endif // __PAINTER_H__