GetGlyphIndex method

int GetGlyphIndex(
  1. FontD font,
  2. num codepoint
)

Implementation

int GetGlyphIndex(
  FontD font,
  num codepoint,
) => run(
  () => 'GetGlyphIndex($font, $codepoint)',
  () => disableSync(() => rl.Core.GetGlyphIndex(
      _refFont1(font).ref,
      codepoint.toInt(),
    ),
  ),
);