diff options
author | Yuta Doi <yuta-d@witz-inc.co.jp> | 2017-12-20 13:19:49 +0900 |
---|---|---|
committer | Yuta Doi <yuta-d@witz-inc.co.jp> | 2017-12-20 13:19:49 +0900 |
commit | 06f1e490056dd7df7948a031c64e9ccf87d9a231 (patch) | |
tree | e2b90e7829b3f85bbd386f040cc517c24e63ab80 /libwindowmanager.pc.in | |
parent | e03cee108a5fa9d38e7292ee1a17e29e8c3367b7 (diff) |
Add APIs which can get information about the display and the surface area
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 'libwindowmanager.pc.in')
0 files changed, 0 insertions, 0 deletions