Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
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: