Add ScreenDpi API in Window class
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Window.cs
index 1b4d54d..3409b2d 100644 (file)
@@ -90,6 +90,16 @@ namespace ElmSharp
             }
         }
 
+        public Point ScreenDpi
+        {
+            get
+            {
+                Point point = default(Point);
+                Interop.Elementary.elm_win_screen_dpi_get(Handle, out point.X, out point.Y);
+                return point;
+            }
+        }
+
         public int Rotation
         {
             get
@@ -151,7 +161,6 @@ namespace ElmSharp
             }
         }
 
-
         public void Active()
         {
             Interop.Elementary.elm_win_activate(Handle);