Font.glyphKerning

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

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

Parameters

prevGlyph dchar

preceeding dchar glyph

glyph dchar

dchar glyph

Return Value

Type: int

kerning between prevGlyph and glyph

Meta