Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::svg::text_engine_detail::ChunkBoundary Struct Reference

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.

Detailed Description

Text chunk boundary for per-chunk text-anchor adjustment.

Member Data Documentation

◆ glyphIndex

size_t donner::svg::text_engine_detail::ChunkBoundary::glyphIndex = 0

Glyph index within the run where the chunk begins.

◆ runIndex

size_t donner::svg::text_engine_detail::ChunkBoundary::runIndex = 0

Index of the run that starts this chunk.

◆ textAnchor

TextAnchor donner::svg::text_engine_detail::ChunkBoundary::textAnchor = TextAnchor::Start

Effective text-anchor for the chunk.


The documentation for this struct was generated from the following file: