#include <text_shaper.hpp>
◆ ascent
| float pulp::canvas::ShapedLayout::Line::ascent = 0 |
◆ descent
| float pulp::canvas::ShapedLayout::Line::descent = 0 |
◆ first_segment
| int pulp::canvas::ShapedLayout::Line::first_segment = 0 |
◆ fragments
| std::vector<Fragment> pulp::canvas::ShapedLayout::Line::fragments |
◆ height
| float pulp::canvas::ShapedLayout::Line::height = 0 |
◆ leading
| float pulp::canvas::ShapedLayout::Line::leading = 0 |
◆ segment_count
| int pulp::canvas::ShapedLayout::Line::segment_count = 0 |
◆ text
| std::string pulp::canvas::ShapedLayout::Line::text |
◆ width
| float pulp::canvas::ShapedLayout::Line::width = 0 |
◆ x_offset
| float pulp::canvas::ShapedLayout::Line::x_offset = 0 |
Horizontal offset from the block's own left edge.
Zero for text a shaper broke, because every such line starts at the edge. Non-zero only for a captured layout whose run resumes a line an earlier inline sibling began — the one case a block-relative origin cannot express, and the reason this field exists.
| float pulp::canvas::ShapedLayout::Line::y = 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