aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/painter.hpp
diff options
context:
space:
mode:
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;