A measured text segment — cached after shaping.
More...
#include <text_shaper.hpp>
A measured text segment — cached after shaping.
◆ ascent
| float pulp::canvas::ShapedSegment::ascent = 0 |
◆ descent
| float pulp::canvas::ShapedSegment::descent = 0 |
◆ is_newline
| bool pulp::canvas::ShapedSegment::is_newline = false |
◆ is_whitespace
| bool pulp::canvas::ShapedSegment::is_whitespace = false |
◆ joins_previous_word
| bool pulp::canvas::ShapedSegment::joins_previous_word = false |
◆ leading
| float pulp::canvas::ShapedSegment::leading = 0 |
◆ style_index
| int pulp::canvas::ShapedSegment::style_index = -1 |
◆ text
| std::string pulp::canvas::ShapedSegment::text |
◆ width
| float pulp::canvas::ShapedSegment::width = 0 |
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/canvas/include/pulp/canvas/text_shaper.hpp