|
tiny-skia-cpp
A C++20 2D rendering library (port of tiny-skia)
|
Unsigned integer rectangle (x, y, width, height). Used for screen coordinates.
#include <tiny_skia/Geom.h>
Static Public Member Functions | |
| static std::optional< ScreenIntRect > | fromXYWH (std::uint32_t x, std::uint32_t y, std::uint32_t width, std::uint32_t height) |
| Creates from components. Returns nullopt for zero width/height or overflow. | |