stbtt_GetGlyphHMetrics function
Gets the bounding box of the visible part of the glyph, in unscaled coordinates
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Pointer<stbtt_fontinfo>,
ffi.Int,
ffi.Pointer<ffi.Int>,
ffi.Pointer<ffi.Int>,
)
>()
external void stbtt_GetGlyphHMetrics(
ffi.Pointer<stbtt_fontinfo> info,
int glyph_index,
ffi.Pointer<ffi.Int> advanceWidth,
ffi.Pointer<ffi.Int> leftSideBearing,
);