7 // Forward declarations
12 Painter(QPainter * p = 0);
15 void SetRenderHint(int);
16 void SetBrush(QBrush);
19 void DrawAngledText(Vector, double, QString);
20 void DrawArc(Vector, double, double, double);
21 void DrawEllipse(Vector, double, double);
22 void DrawLine(int, int, int, int);
23 void DrawLine(Vector, Vector);
24 void DrawPoint(int, int);
25 void DrawRoundedRect(QRectF, double, double);
26 void DrawText(QRectF, int, QString);
29 Vector CartesianToQtCoords(Vector);
30 Vector QtCoordsToCartesian(Vector);
34 static Vector origin; // The window origin, not location of the origin
35 static double zoom; // Window zoom factor
36 static Vector screenSize; // Width & height of the window we're drawing on
42 #endif // __PAINTER_H__