dc.h
Estructura wxFontMetrics
struct wxFontMetrics { wxFontMetrics() { height = ascent = descent = internalLeading = externalLeading = averageWidth = 0; } int height, // Total character height. ascent, // Part of the height above the baseline. descent, // Part of the height below the baseline. internalLeading, // Intra-line spacing. externalLeading, // Inter-line spacing. averageWidth; // Average font width, a.k.a. "x-width". };
Colección simple de varias métricas de fuentes.
Este objeto es devuelto por wxDC::GetFontMetrics().
Miembros
- wxFontMetrics
-
wxFontMetrics::wxFontMetrics()
El constructor inicializa todos los campos a 0. - ascent
- Parte de la altura por encima de la línea de base.
- averageWidth
- Anchura media de la fuente, también conocida como "x-width".
- descent
- Parte de la altura por debajo de la línea de base.
- externalLeading
- Interlineado.
- height
- Altura total de los caracteres.
- internalLeading
- Interlineado.