From b3e5d228311fac99d5a6f5699276ff87229b8c7b Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 5 May 2022 20:06:29 +0800 Subject: ... --- include/cru/platform/graphics/Image.h | 1 + include/cru/platform/graphics/ImageFactory.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include/cru/platform/graphics') 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 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 CreateBitmap(int width, int height) = 0; }; -- cgit v1.2.3