stbtt_GetCodepointHMetrics function
the bounding box around all possible characters
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<stbtt_fontinfo>,
ffi.Int,
ffi.Pointer<ffi.Int>,
ffi.Pointer<ffi.Int>,
)
>()
external void stbtt_GetCodepointHMetrics(
ffi.Pointer<stbtt_fontinfo> info,
int codepoint,
ffi.Pointer<ffi.Int> advanceWidth,
ffi.Pointer<ffi.Int> leftSideBearing,
);