X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fpainter.h;h=5e868d75764250e457d161f118f2ad8fd7ad4b36;hb=f507d97c1b1118834a70332f5f79d8479a6964c0;hp=af591b8e0d59740513151dfe1c232b112ef20644;hpb=84afe881653a02a16b19d4da37435b8701b1a826;p=architektonas diff --git a/src/painter.h b/src/painter.h index af591b8..5e868d7 100644 --- a/src/painter.h +++ b/src/painter.h @@ -1,6 +1,7 @@ #ifndef __PAINTER_H__ #define __PAINTER_H__ +#include #include #include "vector.h" @@ -15,10 +16,13 @@ class Painter ~Painter(); void SetRenderHint(int); + void SetPen(QPen); + void SetPen(uint32_t, float size = 0, int style = 0); void SetBrush(QBrush); + void SetBrush(uint32_t); void SetFont(QFont); - void SetPen(QPen); void DrawAngledText(Vector, double, QString, double); + void DrawTextObject(Vector, QString, double, double angle = 0); void DrawArc(Vector, double, double, double); void DrawEllipse(Vector, double, double); void DrawHandle(Vector);