hb_ot_layout_table_select_script function

  1. @Native<Int Function(Pointer<hb_face_t>, Uint32, UnsignedInt, Pointer<Uint32>, Pointer<UnsignedInt>, Pointer<Uint32>)>(ffi.Pointer<hb_face_t>, ffi.Uint32, ffi.UnsignedInt, ffi.Pointer<ffi.Uint32>, ffi.Pointer<ffi.UnsignedInt>, ffi.Pointer<ffi.Uint32>)>()
int hb_ot_layout_table_select_script(
  1. Pointer<hb_face_t> face,
  2. int table_tag,
  3. int script_count,
  4. Pointer<Uint32> script_tags,
  5. Pointer<UnsignedInt> script_index,
  6. Pointer<Uint32> chosen_script,
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<hb_face_t>,
    ffi.Uint32,
    ffi.UnsignedInt,
    ffi.Pointer<ffi.Uint32>,
    ffi.Pointer<ffi.UnsignedInt>,
    ffi.Pointer<ffi.Uint32>,
  )
>()
external int hb_ot_layout_table_select_script(
  ffi.Pointer<hb_face_t> face,
  int table_tag,
  int script_count,
  ffi.Pointer<ffi.Uint32> script_tags,
  ffi.Pointer<ffi.UnsignedInt> script_index,
  ffi.Pointer<ffi.Uint32> chosen_script,
);