]> Shamusworld >> Repos - architektonas/blobdiff - src/painter.h
Added pen and dropper tools, and printing support.
[architektonas] / src / painter.h
index 4ff50b2298887145ee587bc29e11550a666ac529..e89f045b7d55a16eb852eb38996e90e2a9b3d777 100644 (file)
@@ -22,15 +22,19 @@ class Painter
                void SetFont(QFont);
                void DrawAngledText(Vector, double, QString, double);
                void DrawTextObject(Vector, QString, double, double angle = 0);
+               Rect MeasureTextObject(QString text, double size);
                void DrawArc(Vector, double, double, double);
                void DrawEllipse(Vector, double, double);
                void DrawHandle(Vector);
+               void DrawSmallHandle(Vector);
                void DrawCross(Vector);
                void DrawRectCorners(Rect);
                void DrawArrowHandle(Vector, double);
                void DrawArrowToLineHandle(Vector, double);
                void DrawLine(int, int, int, int);
                void DrawLine(Vector, Vector);
+               void DrawHLine(double);
+               void DrawVLine(double);
                void DrawPoint(int, int);
                void DrawRoundedRect(QRectF, double, double);
                void DrawPaddedRect(QRectF);
@@ -49,4 +53,3 @@ class Painter
 };
 
 #endif // __PAINTER_H__
-