Font.providesGlyph

Wraps TTF_GlyphIsProvided32 (from SDL_ttf 2.0.18) to check whether the dsdl2.ttf.Font provides a glyph

  1. bool providesGlyph(wchar glyph)
  2. bool providesGlyph(dchar glyph)
    class Font
    const @trusted
    static if(sdlTTFSupport >= SDLTTFSupport.v2_0_18)
    bool
    providesGlyph
    (
    dchar glyph
    )

Parameters

glyph dchar

dchar glyph to check

Return Value

Type: bool

true if the dsdl2.ttf.Font provides the glyph, otherwise false

Meta