Font.glyphMetrics - multiple declarations
Function Font.glyphMetrics
Wraps TTF_GlyphMetrics to the metrics of a glyph in the Font
Parameters
| Name | Description |
|---|---|
| glyph | wchar glyph to get the metrics of |
Returns
GlyphMetrics of the glyph
Throws
dsdl if unable to get glyph metrics
Function Font.glyphMetrics
Wraps TTF_GlyphMetrics32 (from SDL_ttf 2.0.18) to the metrics of a glyph in the Font
Parameters
| Name | Description |
|---|---|
| glyph | dchar glyph to get the metrics of |
Returns
GlyphMetrics of the glyph
Throws
dsdl if unable to get glyph metrics