#include <cascade/graphics/CascadeFont.h>
Public Attributes | |
u16 | m_nCharWidth |
u16 | m_nCharHeight |
u16 | m_nAscent |
u16 | m_nDescent |
CascadeFont::Metrics describes a font's metrics and is used to retrieve a font's metrics with CascadeFont::GetFontMetrics()
|
pixel height of the ascent m_nAscent contains the pixel height of the ascent of the font. |
|
character cell height in pixels including ascent and descent m_nCharHeight contains the character cell height in pixels including the character's ascent and descent |
|
character cell width for fixed pitch fonts, average cell width for variable pitch fonts m_nCharWidth contains the character cell width for fixed pitch fonts and the average cell width for variable pitch fonts |
|
pixel height of the descent; also known as the baseline m_nDescent contains the descent of the font, the height which descends below the baseline of the font. |