|
tiny-skia-cpp
A C++20 2D rendering library (port of tiny-skia)
|
Non-zero integer dimensions (width x height).
#include <tiny_skia/Geom.h>
Static Public Member Functions | |
| static std::optional< IntSize > | fromWH (LengthU32 width, LengthU32 height) |
| Creates from width/height. Returns nullopt if either is zero. | |