stbrp_pack_rects function

  1. @Native<Int Function(Pointer<stbrp_context>, Pointer<stbrp_rect>, Int)>(ffi.Pointer<stbrp_context>, ffi.Pointer<stbrp_rect>, ffi.Int)>()
int stbrp_pack_rects(
  1. Pointer<stbrp_context> context,
  2. Pointer<stbrp_rect> rects,
  3. 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,
);