#include <wx/dc.h>
Simple collection of various font metrics.
This object is returned by wxDC::GetFontMetrics().
Public Member Functions | |
wxFontMetrics () | |
Constructor initializes all fields to 0. More... | |
Public Attributes | |
int | height |
Total character height. More... | |
int | ascent |
Part of the height above the baseline. More... | |
int | descent |
Part of the height below the baseline. More... | |
int | internalLeading |
Intra-line spacing. More... | |
int | externalLeading |
Inter-line spacing. More... | |
int | averageWidth |
Average font width, a.k.a. "x-width". More... | |
wxFontMetrics::wxFontMetrics | ( | ) |
Constructor initializes all fields to 0.
int wxFontMetrics::ascent |
Part of the height above the baseline.
int wxFontMetrics::averageWidth |
Average font width, a.k.a. "x-width".
int wxFontMetrics::descent |
Part of the height below the baseline.
int wxFontMetrics::externalLeading |
Inter-line spacing.
int wxFontMetrics::height |
Total character height.
int wxFontMetrics::internalLeading |
Intra-line spacing.