示例#1
0
文件: DpiInfo.cs 项目: zooid/opentk
        /// <summary>
        /// Queries GLFW to get the physical size of the monitor.
        /// </summary>
        private void GetPhysicalSize()
        {
            GLFW.GetMonitorPhysicalSize(_handle, out int width, out int height);

            PhysicalWidth  = width;
            PhysicalHeight = height;
        }