From f3a8fd608a9776ef0a5f547da918a32cf6074060 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 23 May 2020 23:50:00 +0800 Subject: ... --- include/cru/platform/graph/painter.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/cru/platform/graph') diff --git a/include/cru/platform/graph/painter.hpp b/include/cru/platform/graph/painter.hpp index 1f4ab7cb..b6eb5452 100644 --- a/include/cru/platform/graph/painter.hpp +++ b/include/cru/platform/graph/painter.hpp @@ -20,6 +20,10 @@ struct IPainter : virtual INativeResource { virtual void DrawText(const Point& offset, ITextLayout* text_layout, IBrush* brush) = 0; + virtual void PushLayer(const Rect& bounds) = 0; + + virtual void PopLayer() = 0; + virtual void EndDraw() = 0; }; } // namespace cru::platform::graph -- cgit v1.2.3