Worst-case vertical extents over every line of a shaped paragraph.
More...
#include <text_shaper.hpp>
|
| float | ascent = 0.0f |
| float | descent = 0.0f |
| float | leading = 0.0f |
| | max over lines of height - ascent - descent
|
| bool | real = false |
| | at least one line had usable metrics
|
Worst-case vertical extents over every line of a shaped paragraph.
◆ line_height()
| float pulp::canvas::ParagraphTextExtents::line_height |
( |
| ) |
const |
|
inline |
◆ ascent
| float pulp::canvas::ParagraphTextExtents::ascent = 0.0f |
◆ descent
| float pulp::canvas::ParagraphTextExtents::descent = 0.0f |
◆ leading
| float pulp::canvas::ParagraphTextExtents::leading = 0.0f |
max over lines of height - ascent - descent
◆ real
| bool pulp::canvas::ParagraphTextExtents::real = false |
at least one line had usable metrics
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/canvas/include/pulp/canvas/text_shaper.hpp