Font.glyphKerning - multiple declarations

Function Font.glyphKerning

Wraps TTF_GetFontKerningSize (from SDL_ttf 2.0.14) to get the kerning between two glyphs in the Font

int glyphKerning (
  wchar prevGlyph,
  wchar glyph
) @trusted const;

Parameters

NameDescription
prevGlyph preceeding wchar glyph
glyph wchar glyph

Returns

kerning between prevGlyph and glyph

Function Font.glyphKerning

Wraps TTF_GetFontKerningSize (from SDL_ttf 2.0.18) to get the kerning between two glyphs in the Font

int glyphKerning (
  dchar prevGlyph,
  dchar glyph
) @trusted const;

Parameters

NameDescription
prevGlyph preceeding dchar glyph
glyph dchar glyph

Returns

kerning between prevGlyph and glyph