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^20241002git31707d1-2.fc42 -
Fedora 41 1.1^20241002git31707d1-1.fc41 -
Fedora 40 1.1^20241002git31707d1-1.fc40 -
Fedora 39 1.1^20241002git31707d1-1.fc39 -
Fedora EPEL 9 1.1^20241002git31707d1-1.el9 -
Fedora EPEL 8 1.1-0.49.20241002git31707d1.el8 -
Fedora EPEL 10.0 1.1^20241002git31707d1-2.el10_0 -
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