stbrp_pack_rects function
- @Native<Int Function(Pointer<
stbrp_context> , Pointer<stbrp_rect> , Int)>(ffi.Pointer<stbrp_context>, ffi.Pointer<stbrp_rect>, ffi.Int)>()
- Pointer<
stbrp_context> context, - Pointer<
stbrp_rect> rects, - int num_rects
Mostly for internal use, but this is the maximum supported coordinate value.
Implementation
@ffi.Native<
ffi.Int Function(ffi.Pointer<stbrp_context>, ffi.Pointer<stbrp_rect>, ffi.Int)
>()
external int stbrp_pack_rects(
ffi.Pointer<stbrp_context> context,
ffi.Pointer<stbrp_rect> rects,
int num_rects,
);