Text chunk boundary for per-chunk text-anchor adjustment. More...
#include "donner/svg/text/TextEngineHelpers.h"
Public Attributes | |
| size_t | runIndex = 0 |
| Index of the run that starts this chunk. | |
| size_t | glyphIndex = 0 |
| Glyph index within the run where the chunk begins. | |
| TextAnchor | textAnchor = TextAnchor::Start |
| Effective text-anchor for the chunk. | |
| bool | absoluteX = false |
| This boundary applies an authored absolute x position. | |
| bool | absoluteY = false |
| This boundary applies an authored absolute y position. | |
| std::optional< double > | anchorPosition |
| Explicit inline origin, independent of run storage. First visual glyph used to carry a y-only continuation through textLength adjustment. | |
| std::optional< std::pair< size_t, size_t > > | visualFirstGlyph |
Text chunk boundary for per-chunk text-anchor adjustment.
| bool donner::svg::text_engine_detail::ChunkBoundary::absoluteX = false |
This boundary applies an authored absolute x position.
| bool donner::svg::text_engine_detail::ChunkBoundary::absoluteY = false |
This boundary applies an authored absolute y position.
| std::optional<double> donner::svg::text_engine_detail::ChunkBoundary::anchorPosition |
Explicit inline origin, independent of run storage. First visual glyph used to carry a y-only continuation through textLength adjustment.
| size_t donner::svg::text_engine_detail::ChunkBoundary::glyphIndex = 0 |
Glyph index within the run where the chunk begins.
| size_t donner::svg::text_engine_detail::ChunkBoundary::runIndex = 0 |
Index of the run that starts this chunk.
| TextAnchor donner::svg::text_engine_detail::ChunkBoundary::textAnchor = TextAnchor::Start |
Effective text-anchor for the chunk.
| std::optional<std::pair<size_t, size_t> > donner::svg::text_engine_detail::ChunkBoundary::visualFirstGlyph |