Letter S

stb_rect_pack-devel - Simple 2D rectangle packer with decent quality

Website: https://github.com/nothings/stb
License: MIT OR Unlicense
Vendor: Alcance Libre, Inc.
Description:
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.

Packages

stb_rect_pack-devel-1.120230129git5736b15-1.aldos.x86_64 [11 KiB] Changelog by Joel Barrios (2023-08-03):
- Update to latest commit.

Listing created by Repoview-0.6.6-6.fc14.al