mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-27 09:00:55 +00:00
新增设置dpi接口
Signed-off-by: 神气龙 <shenqilong1@huawei.com>
This commit is contained in:
parent
49f6ee8131
commit
0700d7e45a
@ -118,6 +118,7 @@ public:
|
||||
virtual DMError SetScreenActiveMode(ScreenId screenId, uint32_t modeId);
|
||||
virtual sptr<ScreenInfo> GetScreenInfo(ScreenId screenId);
|
||||
virtual DMError SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio);
|
||||
virtual DMError SetVirtualPixelRatioSystem(ScreenId screenId, float virtualPixelRatio);
|
||||
virtual DMError SetResolution(ScreenId screenId, uint32_t width, uint32_t height, float virtualPixelRatio);
|
||||
virtual DMError GetDensityInCurResolution(ScreenId screenId, float& virtualPixelRatio);
|
||||
virtual DMError ResizeVirtualScreen(ScreenId screenId, uint32_t width, uint32_t height);
|
||||
|
Loading…
Reference in New Issue
Block a user