aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/painter.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-04 17:52:15 +0800
committercrupest <crupest@outlook.com>2019-04-04 17:52:15 +0800
commit4d650160a388b0192e04c454ba1a3de21b0d4cc3 (patch)
treef9c416767e039eeb7c5a37f93b70443f37c49f1d /include/cru/platform/painter.hpp
parenta410e2048db6f5ef6fb50e401a59b4b98b979050 (diff)
downloadcru-4d650160a388b0192e04c454ba1a3de21b0d4cc3.tar.gz
cru-4d650160a388b0192e04c454ba1a3de21b0d4cc3.tar.bz2
cru-4d650160a388b0192e04c454ba1a3de21b0d4cc3.zip
...
Diffstat (limited to 'include/cru/platform/painter.hpp')
-rw-r--r--include/cru/platform/painter.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cru/platform/painter.hpp b/include/cru/platform/painter.hpp
index 7310bc5c..eaaf61f9 100644
--- a/include/cru/platform/painter.hpp
+++ b/include/cru/platform/painter.hpp
@@ -12,6 +12,7 @@ struct TextLayout;
struct Painter : virtual Interface {
virtual Matrix GetTransform() = 0;
virtual void SetTransform(const Matrix& matrix) = 0;
+ virtual void Clear(const ui::Color& color) = 0;
virtual void StrokeRectangle(const ui::Rect& rectangle, Brush* brush,
float width) = 0;
virtual void FillRectangle(const ui::Rect& rectangle, Brush* brush) = 0;