diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-05-02 13:16:18 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-05-02 13:16:18 +0200 |
commit | 8e5b1e0b171d0e4ff326a3ff1af162805d82a3d6 (patch) | |
tree | e7e48cbd9b3baabc7465ebb72f05f9a54fa595a4 /plugingui/painter.h | |
parent | 32878759a55f8b80d808a3647a5802984438d8c0 (diff) |
Add support for 90 dgr. rotated text rendering.
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r-- | plugingui/painter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/painter.h b/plugingui/painter.h index b38bf88..9bf7fbf 100644 --- a/plugingui/painter.h +++ b/plugingui/painter.h @@ -49,7 +49,7 @@ public: void drawLine(int x1, int y1, int x2, int y2); void drawText(int x, int y, const Font& font, const std::string& text, - bool nocolour = false); + bool nocolour = false, bool rotate = false); void drawRectangle(int x1, int y1, int x2, int y2); void drawFilledRectangle(int x1, int y1, int x2, int y2); void drawPoint(int x, int y); |