mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-29 06:55:28 +00:00
b4c29d802b
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). |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
LICENSE | ||
README |
This is SDL2#, a C# wrapper for SDL2. Project Website: https://github.com/flibitijibibo/SDL2-CS License ------- SDL2 and SDL2# are released under the zlib license. See LICENSE for details. SDL2# currently uses parts of OpenTK, which is released under the MIT license. See opentk.LICENSE for details. About SDL2 ---------- For more information about SDL2, visit the SDL wiki: http://wiki.libsdl.org/moin.fcg/FrontPage About the C# Wrapper -------------------- The C# wrapper was written to be used for MonoGame's desktop platforms. However, this is written in a way that can be used for any general C# application. The wrapper provides bindings for the following libraries: - SDL2 - SDL2_image - SDL2_mixer - SDL2_ttf We also provide bindings for OpenGL and OpenAL, taken from OpenTK. Note that SDL2# will not provide every single SDL2 function. This is due to limitations in the C# language that would cause major conflicts with the native SDL2 library and its extensions. SDL2# is a pure port of the C headers. The naming schemes for this library will be exactly as they are done in the C library, with little-to-no concern for "appropriate" C# style. The namespace indicates that this is SDL2, the class names will indicate which library file the function/type/value exists in, and everything else will be as close to the C version as technically possible. Roadmap ------- To see the current roadmap for SDL2#, visit the GitHub issues page: https://github.com/flibitijibibo/SDL2-CS/issues