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 DrawHandle(Vector);
23 void DrawLine(int, int, int, int);
24 void DrawLine(Vector, Vector);
25 void DrawPoint(int, int);
26 void DrawRoundedRect(QRectF, double, double);
27 void DrawText(QRectF, int, QString);
28 void DrawArrowhead(Vector, Vector);
31 static Vector CartesianToQtCoords(Vector);
32 static Vector QtToCartesianCoords(Vector);
36 static Vector origin; // The window origin, not location of the origin
37 static double zoom; // Window zoom factor
38 static Vector screenSize; // Width & height of the window we're drawing on
44 #endif // __PAINTER_H__