aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-07 18:39:51 +0800
committercrupest <crupest@outlook.com>2022-05-07 18:39:51 +0800
commita465e2c410c1ae5098d2e073442219bb07a31b9d (patch)
treed60e6692e8dad6d4df2b9709819bf65f0f797422 /include/cru/platform
parent23e68dc785d274327efeecb22cfc712c71cfbfc0 (diff)
downloadcru-a465e2c410c1ae5098d2e073442219bb07a31b9d.tar.gz
cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.tar.bz2
cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.zip
...
Diffstat (limited to 'include/cru/platform')
-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;