Safe-area insets in CSS-pixel space (already divided by content_scale).
More...
#include <environment.hpp>
Safe-area insets in CSS-pixel space (already divided by content_scale).
Top/bottom cover the iOS notch + home indicator and Android cutouts; left/right cover landscape notches and rounded display corners.
◆ is_zero()
| bool pulp::platform::SafeAreaInsets::is_zero |
( |
| ) |
const |
|
inlinenoexcept |
◆ bottom
| float pulp::platform::SafeAreaInsets::bottom = 0.0f |
◆ left
| float pulp::platform::SafeAreaInsets::left = 0.0f |
◆ right
| float pulp::platform::SafeAreaInsets::right = 0.0f |
◆ top
| float pulp::platform::SafeAreaInsets::top = 0.0f |
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/platform/include/pulp/platform/environment.hpp