stbtt_PackFontRanges function

  1. @Native<Int Function(Pointer<stbtt_pack_context>, Pointer<ma_uint8>, Int, Pointer<stbtt_pack_range>, Int)>(ffi.Pointer<stbtt_pack_context>, ffi.Pointer<ffi.UnsignedChar>, ffi.Int, ffi.Pointer<stbtt_pack_range>, ffi.Int)>()
int stbtt_PackFontRanges(
  1. Pointer<stbtt_pack_context> spc,
  2. Pointer<ma_uint8> fontdata,
  3. int font_index,
  4. Pointer<stbtt_pack_range> ranges,
  5. int num_ranges,
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<stbtt_pack_context>,
    ffi.Pointer<ffi.UnsignedChar>,
    ffi.Int,
    ffi.Pointer<stbtt_pack_range>,
    ffi.Int,
  )
>()
external int stbtt_PackFontRanges(
  ffi.Pointer<stbtt_pack_context> spc,
  ffi.Pointer<ffi.UnsignedChar> fontdata,
  int font_index,
  ffi.Pointer<stbtt_pack_range> ranges,
  int num_ranges,
);