pack

fun <T> pack(width: Double, height: Double, items: Iterable<T>, getSize: (T) -> Size): BinPacker.Result<T>
fun <T> pack(width: Int, height: Int, items: Iterable<T>, getSize: (T) -> Size): BinPacker.Result<T>
fun <T> pack(width: Float, height: Float, items: Iterable<T>, getSize: (T) -> Size): BinPacker.Result<T>