Magnum::Text::AbstractFont::Properties struct

Font properties.

Returned from doOpenFile(), doOpenData().

Public variables

Float size
Float ascent
Float descent
Float lineHeight
UnsignedInt glyphCount new in Git master

Variable documentation

Float Magnum::Text::AbstractFont::Properties::size

Font size in points

Float Magnum::Text::AbstractFont::Properties::ascent

Font ascent in pixels

Float Magnum::Text::AbstractFont::Properties::descent

Font descent in pixels

Float Magnum::Text::AbstractFont::Properties::lineHeight

Line height in pixels

UnsignedInt Magnum::Text::AbstractFont::Properties::glyphCount new in Git master

Total count of glyphs in the font