From 8e5b1e0b171d0e4ff326a3ff1af162805d82a3d6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 2 May 2020 13:16:18 +0200 Subject: Add support for 90 dgr. rotated text rendering. --- plugingui/painter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui/painter.h') 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); -- cgit v1.2.3