#include <QtGui>
#include "vector.h"
+//#define SCREEN_ZOOM (1.0 / 4.0)
+
// Forward declarations
class Painter
void SetBrush(QBrush);
void SetFont(QFont);
void SetPen(QPen);
- void DrawAngledText(Vector, double, QString);
+ void DrawAngledText(Vector, double, QString, double);
void DrawArc(Vector, double, double, double);
void DrawEllipse(Vector, double, double);
+ void DrawHandle(Vector);
void DrawLine(int, int, int, int);
void DrawLine(Vector, Vector);
void DrawPoint(int, int);
void DrawRoundedRect(QRectF, double, double);
+ void DrawRect(QRectF);
void DrawText(QRectF, int, QString);
+ void DrawArrowhead(Vector, Vector, double);
public:
- Vector CartesianToQtCoords(Vector);
- Vector QtCoordsToCartesian(Vector);
+ static Vector CartesianToQtCoords(Vector);
+ static Vector QtToCartesianCoords(Vector);
public:
// Class variables