Packs rectangles into one or more pages using the MaxRects algorithm.
This is a faithful port of the FairyGUI editor's packing algorithm,
including SIZE_SCHEME dimension search, multi-heuristic selection
(BSSF/BLSF/BAF), and binary search for optimal dimensions.
Packs rectangles into one or more pages using the MaxRects algorithm.
This is a faithful port of the FairyGUI editor's packing algorithm, including SIZE_SCHEME dimension search, multi-heuristic selection (BSSF/BLSF/BAF), and binary search for optimal dimensions.