xartigas pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=606b0381c184f828339dd4dcccf7fd3886e55efd
commit 606b0381c184f828339dd4dcccf7fd3886e55efd Author: Mike Blumenkrantz <[email protected]> Date: Thu Feb 21 18:19:39 2019 +0100 efl.screen: add screen_scale_factor property Summary: ref T7590 Depends on D7966 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7590 Differential Revision: https://phab.enlightenment.org/D7967 --- src/lib/efl/interfaces/efl_screen.eo | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/lib/efl/interfaces/efl_screen.eo b/src/lib/efl/interfaces/efl_screen.eo index 7d60050b48..43cf8b318e 100644 --- a/src/lib/efl/interfaces/efl_screen.eo +++ b/src/lib/efl/interfaces/efl_screen.eo @@ -28,6 +28,20 @@ interface @beta Efl.Screen // size: Eina.Size2D; [[The screen size in millimeters.]] // } // } + @property screen_scale_factor { + get { + [[Get screen scaling factor. + + This is the factor by which window contents will be scaled on the screen. + + Note that on some display systems this information is not available and a + value of 1.0 will be returned. + ]] + } + values { + size: float; [[The screen scaling factor.]] + } + } @property screen_rotation { get { [[Get the rotation of the screen. --
