diff options
author | crupest <crupest@outlook.com> | 2022-05-07 20:53:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-07 20:53:57 +0800 |
commit | ee5aa17e44cb36b386e89032cab96caf87b5b524 (patch) | |
tree | a7cef6c60f55e3870900016e0f1a4efe578efbf0 /include/cru/win/graphics/direct/Image.h | |
parent | 5bc684dcc1d121bf6e02d0800174c7977c72d101 (diff) | |
parent | cb850a6d6d13fc5b2c0cdd8773e368e23252c459 (diff) | |
download | cru-ee5aa17e44cb36b386e89032cab96caf87b5b524.tar.gz cru-ee5aa17e44cb36b386e89032cab96caf87b5b524.tar.bz2 cru-ee5aa17e44cb36b386e89032cab96caf87b5b524.zip |
Merge pull request #54 from crupest/create-image
Diffstat (limited to 'include/cru/win/graphics/direct/Image.h')
-rw-r--r-- | include/cru/win/graphics/direct/Image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/win/graphics/direct/Image.h b/include/cru/win/graphics/direct/Image.h index 0b51f350..bcf2386b 100644 --- a/include/cru/win/graphics/direct/Image.h +++ b/include/cru/win/graphics/direct/Image.h @@ -20,6 +20,8 @@ class CRU_WIN_GRAPHICS_DIRECT_API Direct2DImage : public DirectGraphicsResource, std::unique_ptr<IImage> CreateWithRect(const Rect& rect) override; + std::unique_ptr<IPainter> CreatePainter() override; + const Microsoft::WRL::ComPtr<ID2D1Bitmap1>& GetD2DBitmap() const { return d2d_bitmap_; } |