Fedora Packages

stb_rect_pack-devel Subpackage of stb

Simple 2D rectangle packer with decent quality

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.

Releases Overview

Release Stable Testing
Fedora Rawhide 1.1^20220908git8b5f1f3-0.3.fc38 -
Fedora 37 1.1^20220908git8b5f1f3-0.3.fc37 -
Fedora 36 1.1-0.9.20211022gitaf1a5bc.fc36 -
Fedora 35 1.1-0.4.20210908gitc0c9826.fc35 -
EPEL 9 1.1^20220908git8b5f1f3-0.3.el9 -
EPEL 8 1.1-0.18.20220908git8b5f1f3.el8 -
EPEL 7 1.1-0.17.20220908git8b5f1f3.el7 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at stb dash maintainers at fedoraproject dot org.

Sources on Pagure