|
NovaSVG 0.11.5
An SVG library
|
How big a piece of text is, measured the way a <text> element is laid out. More...
#include <svg.h>
Public Attributes | |
| float | width = 0.f |
| Advance of the whole text (kerning and ligatures included). | |
| float | ascent = 0.f |
| Distance from the baseline up to the top of the font's line box; never negative. | |
| float | descent = 0.f |
| Distance from the baseline down to the bottom of the line box; never negative. | |
| float | line_gap = 0.f |
| Extra leading the font asks for between two lines. | |
How big a piece of text is, measured the way a <text> element is laid out.
All values are in user units (pixels at font_size).
| float nova::svg::text_metrics::ascent = 0.f |
| float nova::svg::text_metrics::descent = 0.f |
| float nova::svg::text_metrics::line_gap = 0.f |
| float nova::svg::text_metrics::width = 0.f |