stbtt_GetCodepointShape function

  1. @Native<Int Function(Pointer<stbtt_fontinfo>, Int, Pointer<Pointer<stbtt_vertex>>)>(ffi.Pointer<stbtt_fontinfo>, ffi.Int, ffi.Pointer<ffi.Pointer<stbtt_vertex>>)>()
int stbtt_GetCodepointShape(
  1. Pointer<stbtt_fontinfo> info,
  2. int unicode_codepoint,
  3. Pointer<Pointer<stbtt_vertex>> vertices
)

returns non-zero if nothing is drawn for this glyph

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<stbtt_fontinfo>,
    ffi.Int,
    ffi.Pointer<ffi.Pointer<stbtt_vertex>>,
  )
>()
external int stbtt_GetCodepointShape(
  ffi.Pointer<stbtt_fontinfo> info,
  int unicode_codepoint,
  ffi.Pointer<ffi.Pointer<stbtt_vertex>> vertices,
);