X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fpainter.h;h=4ff50b2298887145ee587bc29e11550a666ac529;hb=e78daf62eb771ee29a59035d16cf63c1e6ebe144;hp=5e868d75764250e457d161f118f2ad8fd7ad4b36;hpb=0fcc2d879e1e0ca17eeaceae2159f5143a06586f;p=architektonas diff --git a/src/painter.h b/src/painter.h index 5e868d7..4ff50b2 100644 --- a/src/painter.h +++ b/src/painter.h @@ -3,10 +3,9 @@ #include #include +#include "rect.h" #include "vector.h" -//#define SCREEN_ZOOM (1.0 / 4.0) - // Forward declarations class Painter @@ -26,6 +25,8 @@ class Painter void DrawArc(Vector, double, double, double); void DrawEllipse(Vector, double, double); void DrawHandle(Vector); + void DrawCross(Vector); + void DrawRectCorners(Rect); void DrawArrowHandle(Vector, double); void DrawArrowToLineHandle(Vector, double); void DrawLine(int, int, int, int); @@ -43,14 +44,9 @@ class Painter static Vector CartesianToQtCoords(Vector); static Vector QtToCartesianCoords(Vector); - public: - // Class variables -// static Vector origin; // The window origin, not location of the origin -// static double zoom; // Window zoom factor -// static Vector screenSize; // Width & height of the window we're drawing on - private: QPainter * painter; }; #endif // __PAINTER_H__ +