Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CascadeFont::Metrics Class Reference

Metrics describes a font's metrics. More...

#include <cascade/graphics/CascadeFont.h>

List of all members.

Public Attributes

u16 m_nCharWidth
u16 m_nCharHeight
u16 m_nAscent
u16 m_nDescent


Detailed Description

Metrics describes a font's metrics.

CascadeFont::Metrics describes a font's metrics and is used to retrieve a font's metrics with CascadeFont::GetFontMetrics()

See also:
CascadeFont::GetFontMetrics()


Member Data Documentation

u16 CascadeFont::Metrics::m_nAscent
 

pixel height of the ascent

m_nAscent contains the pixel height of the ascent of the font.

u16 CascadeFont::Metrics::m_nCharHeight
 

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

u16 CascadeFont::Metrics::m_nCharWidth
 

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

u16 CascadeFont::Metrics::m_nDescent
 

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.


The documentation for this class was generated from the following file:
Generated on Sun Jul 24 14:27:19 2005 for Cascade Library by  doxygen 1.4.1