Add support for HiDPI modes
authorStefanos A <stapostol@gmail.com>
Thu, 3 Oct 2013 23:38:19 +0000 (01:38 +0200)
committerStefanos A <stapostol@gmail.com>
Thu, 3 Oct 2013 23:38:19 +0000 (01:38 +0200)
commitb4c29d802bab89c6e3b8707e4fc07c024b99bc0f
treef77e1309575edea9d064e1014300c86d69097af6
parent913c4f16e6b5841a2593ea06758de243f02f892c
Add support for HiDPI modes

When HiDPI is enabled, the size of the OpenGL surface (specified in
pixels) may no longer correspond to the size of the window (specified
in points). Width, Height, ClientSize and ClientRectangle return the
size of the OpenGL surface in device-dependent pixel coordinates
(origin: top-left pixel of the surface). Bounds and Size return the
size of the window in device-independent point coordinates (origin:
desktop).
Source/OpenTK/NativeWindow.cs
Source/OpenTK/Platform/SDL2/Sdl2NativeWindow.cs
Source/OpenTK/Platform/SDL2/sdl2-cs/src/SDL2.cs