diff options
author | Yuta Doi <yuta-d@witz-inc.co.jp> | 2017-12-20 13:19:49 +0900 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-12-20 16:28:13 +0000 |
commit | 881876d4908aaa4015e9d5f5d318c1b5fe1052dc (patch) | |
tree | 2f349a032bc9889a0a43805330b6c130277420ac /LICENSE | |
parent | ae757d42f81d5c9e06f9c83c1a6bc0e9f2365655 (diff) |
Add APIs which can get information about the display and the surface areaeel_4.99.5eel/4.99.54.99.5
getDisplayInfo() can get the display information as follows:
- width[pixel]
- height[pixel]
- width[mm]
- height[mm]
NOTE:
It uses wl_output::geometry() for getting physical width[mm] and height[mm] of the display,
but the value is different with measured value.
value from wl_output::geometry(): width:320 height:520
measured value : width:193 height:343
getAreaInfo() can get the information of area drawn by the application as follows:
- x-coordinate
- y-coordinate
- width
- height
The details are described in doc/ApplicationGuide.md in project apps/agl-service-windowmanager-2017.
Bug-AGL: SPEC-1087
Change-Id: Icee00af4ab210b056cc67c2868ef2c594da1dbe1
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions