X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fpainter.h;h=1bc261b0eab5cbd198467e5d8e38688db3939a09;hb=143b369c0308a8cd524cb0ed51c5d67d6be69603;hp=52da1d5a212548f30c5aaebe98d87238cb2a3653;hpb=83e22355362af43b5beaafbccf101fa8b35bb12f;p=architektonas diff --git a/src/painter.h b/src/painter.h index 52da1d5..1bc261b 100644 --- a/src/painter.h +++ b/src/painter.h @@ -4,6 +4,8 @@ #include #include "vector.h" +//#define SCREEN_ZOOM (1.0 / 4.0) + // Forward declarations class Painter @@ -16,7 +18,7 @@ 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); @@ -24,7 +26,12 @@ class Painter void DrawLine(Vector, Vector); void DrawPoint(int, int); void DrawRoundedRect(QRectF, double, double); + void DrawPaddedRect(QRectF); + void DrawRect(QRectF); void DrawText(QRectF, int, QString); + void DrawArrowhead(Vector, Vector, double); + void DrawCrosshair(Vector); + void DrawInformativeText(QString); public: static Vector CartesianToQtCoords(Vector);