Added `Window::safe_area`, which describes the area of the surface that is unobstructed by notches, bezels etc. The drawing code in the examples have been updated to draw a star inside the safe area, and the plain background outside of it. Also renamed `Window::inner_position` to `Window::surface_position`, and changed it to from screen coordinates to window coordinates, to better align how these coordinate systems work together. Finally, added some SVG images and documentation to describe how all of this works. This is fully implemented on macOS and iOS, and partially on the web. Co-authored-by: daxpedda <daxpedda@gmail.com>
18 lines
854 B
Markdown
18 lines
854 B
Markdown
# Image Attribution
|
|
|
|
These images are used in the documentation of `winit`.
|
|
|
|
## keyboard_*.svg
|
|
|
|
These files are a modified version of "[ANSI US QWERTY (Windows)](https://commons.wikimedia.org/wiki/File:ANSI_US_QWERTY_(Windows).svg)"
|
|
by [Tomiĉo] (https://commons.wikimedia.org/wiki/User:Tomi%C4%89o). It was
|
|
originally released under the [CC-BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/deed.en)
|
|
License. Minor modifications have been made by [John Nunley](https://github.com/notgull),
|
|
which have been released under the same license as a derivative work.
|
|
|
|
## `coordinate-systems*`
|
|
|
|
These files are created by [Mads Marquart](https://github.com/madsmtm) using
|
|
[draw.io](https://draw.io/), and compressed using [svgomg.net](https://svgomg.net/).
|
|
|
|
They are licensed under the [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/) license.
|