aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graph/painter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/graph/painter.hpp')
-rw-r--r--include/cru/platform/graph/painter.hpp4
1 files changed, 4 insertions, 0 deletions
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