From a465e2c410c1ae5098d2e073442219bb07a31b9d Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 7 May 2022 18:39:51 +0800 Subject: ... --- include/cru/platform/graphics/Painter.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/cru/platform/graphics/Painter.h') 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; -- cgit v1.2.3