Rectangle packing
Useful for e.g. packing rectangular textures into an atlas. Does not do rotation. Not necessarily the awesomest packing method, but better than the totally naive one in stb_truetype (which is primarily what this is meant to replace). No memory allocations; uses qsort() and assert() from stdlib. Can override those by defining STBRP_SORT and STBRP_ASSERT. This library currently uses the Skyline Bottom-Left algorithm. Please note: better rectangle packers are welcome! Please implement them to the same API, but with a different init function.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.1-0.8.20211022gitaf1a5bc.fc36 | - |
Fedora 35 | 1.1-0.4.20210908gitc0c9826.fc35 | - |
EPEL 9 | 1.1-0.9.20211022gitaf1a5bc.el9 | - |
EPEL 8 | 1.1-0.7.20211022gitaf1a5bc.el8 | - |
EPEL 7 | 1.1-0.7.20211022gitaf1a5bc.el7 | - |
You can contact the maintainers of this package via email at
stb dash maintainers at fedoraproject dot org
.