예제 #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;
        }