aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graphics/Painter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/platform/graphics/Painter.h')
-rw-r--r--include/cru/platform/graphics/Painter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cru/platform/graphics/Painter.h b/include/cru/platform/graphics/Painter.h
index 38ff8849..4268133e 100644
--- a/include/cru/platform/graphics/Painter.h
+++ b/include/cru/platform/graphics/Painter.h
@@ -3,6 +3,10 @@
namespace cru::platform::graphics {
+/**
+ * \brief Painter is a object to paint on something like window, bitmap and etc.
+ * \remarks Remember to call EndDraw() when you are done with painting.
+ */
struct CRU_PLATFORM_GRAPHICS_API IPainter : virtual IPlatformResource {
virtual Matrix GetTransform() = 0;
virtual void SetTransform(const Matrix& matrix) = 0;