#include <text_editor.hpp>
◆ baseline_y
| float pulp::view::TextEditor::LayoutSnapshot::Line::baseline_y = 0.f |
◆ byte_offsets
| std::vector<int> pulp::view::TextEditor::LayoutSnapshot::Line::byte_offsets |
UTF-8 byte offset in text_ for each x_offsets entry.
◆ end
| int pulp::view::TextEditor::LayoutSnapshot::Line::end = 0 |
◆ inner_x
| float pulp::view::TextEditor::LayoutSnapshot::Line::inner_x = 0.f |
◆ line_height
| float pulp::view::TextEditor::LayoutSnapshot::Line::line_height = 0.f |
◆ start
| int pulp::view::TextEditor::LayoutSnapshot::Line::start = 0 |
◆ top_y
| float pulp::view::TextEditor::LayoutSnapshot::Line::top_y = 0.f |
◆ x_offsets
| std::vector<float> pulp::view::TextEditor::LayoutSnapshot::Line::x_offsets |
Cumulative x of each char start; size = (end-start)+1.
Built once per cache-key change rather than per paint.
The documentation for this struct was generated from the following file: