diff options
author | crupest <crupest@outlook.com> | 2022-05-05 20:06:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-05-05 20:06:29 +0800 |
commit | b3e5d228311fac99d5a6f5699276ff87229b8c7b (patch) | |
tree | 551901fddf30a5104340a8b31347432b6136ec86 | |
parent | 56a8047c4093c928b8551bbacda796382984512e (diff) | |
download | cru-b3e5d228311fac99d5a6f5699276ff87229b8c7b.tar.gz cru-b3e5d228311fac99d5a6f5699276ff87229b8c7b.tar.bz2 cru-b3e5d228311fac99d5a6f5699276ff87229b8c7b.zip |
...
-rw-r--r-- | include/cru/platform/graphics/Image.h | 1 | ||||
-rw-r--r-- | include/cru/platform/graphics/ImageFactory.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/platform/graphics/Image.h b/include/cru/platform/graphics/Image.h index 17d2170e..de3b32d5 100644 --- a/include/cru/platform/graphics/Image.h +++ b/include/cru/platform/graphics/Image.h @@ -12,6 +12,7 @@ struct CRU_PLATFORM_GRAPHICS_API IImage : public virtual IGraphicsResource { * \remarks Not all image could create a painter. If not this method will * throw. Currently we only ensure images returned by * IImageFactory::CreateBitmap or CloneToBitmap can create a painter. + * \todo Implement on Windows. */ virtual std::unique_ptr<IPainter> CreatePainter() = 0; diff --git a/include/cru/platform/graphics/ImageFactory.h b/include/cru/platform/graphics/ImageFactory.h index e74f57e0..d2c2a468 100644 --- a/include/cru/platform/graphics/ImageFactory.h +++ b/include/cru/platform/graphics/ImageFactory.h @@ -12,6 +12,7 @@ struct CRU_PLATFORM_GRAPHICS_API IImageFactory * \brief Create an empty bitmap with given width and height. * \remarks Implementation should ensure that the bitmap supports alpha * channel. It had better be in 32-bit rgba format. + * \todo Implement on Windows. */ virtual std::unique_ptr<IImage> CreateBitmap(int width, int height) = 0; }; |