X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fpainter.h;h=5b11e25aadead93a1c418627fe3abbe50e02b332;hb=ccac11461956c9c0cc9756f8963436b5d88dfbb7;hp=4ff50b2298887145ee587bc29e11550a666ac529;hpb=3f1e5ba1d42ab40edf75cf05df16b0e25d0821cb;p=architektonas diff --git a/src/painter.h b/src/painter.h index 4ff50b2..5b11e25 100644 --- a/src/painter.h +++ b/src/painter.h @@ -22,6 +22,7 @@ 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);