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/win/graphics/direct/Image.h | |
| parent | 23e68dc785d274327efeecb22cfc712c71cfbfc0 (diff) | |
| download | cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.tar.gz cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.tar.bz2 cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.zip | |
...
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_; } |
