Font.providesGlyph - multiple declarations

Function Font.providesGlyph

Wraps TTF_GlyphIsProvided to check whether the Font provides a glyph

bool providesGlyph (
  wchar glyph
) @trusted const;

Parameters

NameDescription
glyph wchar glyph to check

Returns

true if the Font provides the glyph, otherwise false

Function Font.providesGlyph

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

bool providesGlyph (
  dchar glyph
) @trusted const;

Parameters

NameDescription
glyph dchar glyph to check

Returns

true if the Font provides the glyph, otherwise false