Function Blam::Content::Fonts::GetFontGlyph

Function Documentation

FontGlyph *Blam::Content::Fonts::GetFontGlyph(Font *font, char glyph)

Retrieves a glyph from a font.

Return

A pointer to the font glyph data, or nullptr if the glyph couldn’t be found

Parameters
  • font: - Pointer to the font to locate a glyph within

  • glyph: - The character to get glyph data for