tiny-skia-cpp
A C++20 2D rendering library (port of tiny-skia)
Loading...
Searching...
No Matches
tiny_skia::ScreenIntRect Class Reference

Unsigned integer rectangle (x, y, width, height). Used for screen coordinates.

#include <tiny_skia/Geom.h>

Static Public Member Functions

static std::optional< ScreenIntRectfromXYWH (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.
 

The documentation for this class was generated from the following file: