Font.glyphKerning

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

  1. int glyphKerning(wchar prevGlyph, wchar glyph)
    class Font
    const @trusted
    static if(sdlTTFSupport >= SDLTTFSupport.v2_0_14)
    int
    glyphKerning
    (
    wchar prevGlyph
    ,
    wchar glyph
    )
  2. int glyphKerning(dchar prevGlyph, dchar glyph)

Parameters

prevGlyph wchar

preceeding wchar glyph

glyph wchar

wchar glyph

Return Value

Type: int

kerning between prevGlyph and glyph

Meta