diff options
| author | crupest <crupest@outlook.com> | 2022-05-07 18:39:51 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-05-07 18:39:51 +0800 |
| commit | a465e2c410c1ae5098d2e073442219bb07a31b9d (patch) | |
| tree | d60e6692e8dad6d4df2b9709819bf65f0f797422 /include/cru/platform/graphics | |
| parent | 23e68dc785d274327efeecb22cfc712c71cfbfc0 (diff) | |
| download | cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.tar.gz cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.tar.bz2 cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.zip | |
...
Diffstat (limited to 'include/cru/platform/graphics')
| -rw-r--r-- | include/cru/platform/graphics/Painter.h | 4 |
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; |
