From b9a553d4acc15ec981636b30db537be280d593e5 Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 30 Jan 2022 22:23:59 +0800 Subject: ... --- include/cru/platform/graphics/Painter.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/cru/platform/graphics/Painter.hpp') diff --git a/include/cru/platform/graphics/Painter.hpp b/include/cru/platform/graphics/Painter.hpp index 4104a752..eb5bf8e1 100644 --- a/include/cru/platform/graphics/Painter.hpp +++ b/include/cru/platform/graphics/Painter.hpp @@ -27,6 +27,8 @@ struct CRU_PLATFORM_GRAPHICS_API IPainter : virtual IPlatformResource { virtual void DrawText(const Point& offset, ITextLayout* text_layout, IBrush* brush) = 0; + virtual void DrawImage(const Rect& rect, IImage* image) = 0; + virtual void PushLayer(const Rect& bounds) = 0; virtual void PopLayer() = 0; -- cgit v1.2.3