aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/painter.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-04-04 23:08:22 +0800
committercrupest <crupest@outlook.com>2019-04-04 23:08:22 +0800
commit6268f3ca09afef812cf288f323cacff22fbfcffc (patch)
tree86e89d3b4212ae069075f799a5278c120e258e73 /include/cru/platform/painter.hpp
parentdbda5a8e4f0d59ad95be8fc3ee7b21e9122cc474 (diff)
downloadcru-6268f3ca09afef812cf288f323cacff22fbfcffc.tar.gz
cru-6268f3ca09afef812cf288f323cacff22fbfcffc.tar.bz2
cru-6268f3ca09afef812cf288f323cacff22fbfcffc.zip
Finish refactor!!!
Diffstat (limited to 'include/cru/platform/painter.hpp')
-rw-r--r--include/cru/platform/painter.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/platform/painter.hpp b/include/cru/platform/painter.hpp
index eaaf61f9..b7b89fc9 100644
--- a/include/cru/platform/painter.hpp
+++ b/include/cru/platform/painter.hpp
@@ -19,7 +19,7 @@ struct Painter : virtual Interface {
virtual void StrokeGeometry(Geometry* geometry, Brush* brush,
float width) = 0;
virtual void FillGeometry(Geometry* geometry, Brush* brush) = 0;
- virtual void DrawText(const ui::Point& offset, TextLayout* text_layout, Brush* brush);
+ virtual void DrawText(const ui::Point& offset, TextLayout* text_layout, Brush* brush) = 0;
virtual void EndDraw() = 0;
virtual bool IsDisposed() = 0;
};