![]() |
nomlib
|
Container structure for global font metric data. More...
#include <FontMetrics.hpp>
Public Member Functions | |
| FontMetrics (void) | |
| Default constructor. | |
| ~FontMetrics (void) | |
| Destructor. | |
Public Attributes | |
| sint | height |
| Maximum height of a font. | |
| int | newline |
| Get the line spacing. | |
| int | ascent |
| The height (in pixels) from the absolute top of the glyph to the base of the glyph. | |
| int | descent |
| Height (in pixels) from the baseline to the bottom of the glyph. | |
| std::string | family |
| Font family. | |
| std::string | name |
| The font face style name. | |
Container structure for global font metric data.
Definition at line 39 of file FontMetrics.hpp.
|
inline |
Default constructor.
Definition at line 42 of file FontMetrics.hpp.
|
inline |
Destructor.
Definition at line 52 of file FontMetrics.hpp.
| int nom::FontMetrics::ascent |
The height (in pixels) from the absolute top of the glyph to the base of the glyph.
Definition at line 68 of file FontMetrics.hpp.
| int nom::FontMetrics::descent |
Height (in pixels) from the baseline to the bottom of the glyph.
Definition at line 71 of file FontMetrics.hpp.
| std::string nom::FontMetrics::family |
Font family.
Definition at line 74 of file FontMetrics.hpp.
| sint nom::FontMetrics::height |
Maximum height of a font.
Definition at line 58 of file FontMetrics.hpp.
| std::string nom::FontMetrics::name |
The font face style name.
Definition at line 77 of file FontMetrics.hpp.
| int nom::FontMetrics::newline |
Get the line spacing.
Definition at line 64 of file FontMetrics.hpp.