mirror of
https://gitee.com/openharmony/graphic_graphic_2d
synced 2024-11-23 07:02:25 +00:00
fix arkuix componentsnapshot issue
Signed-off-by: lmy <lvmengyu3@huawei.com> Change-Id: I490795e9347820ef7e12ca200c234e0ee45167f9
This commit is contained in:
parent
9ddce33f50
commit
4b0b973347
@ -84,6 +84,8 @@ std::shared_ptr<Media::PixelMap> RSDividedUICapture::TakeLocalCapture()
|
||||
return nullptr;
|
||||
}
|
||||
auto canvas = std::make_shared<RSPaintFilterCanvas>(drSurface.get());
|
||||
canvas->ResetMatrix();
|
||||
canvas->Clear(Drawing::Color::COLOR_TRANSPARENT);
|
||||
#endif
|
||||
drawCallList->Playback(*canvas);
|
||||
return pixelmap;
|
||||
|
Loading…
Reference in New Issue
Block a user