Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::text_engine_detail::TextLengthTraversalStats Struct Reference

Optional operation counts for deterministic textLength traversal complexity tests. More...

#include "donner/svg/text/TextEngineHelpers.h"

Public Attributes

size_t runVisits = 0
 Run visits in the per-span adjustment phase.
size_t glyphVisits = 0
 Glyph visits in the per-span adjustment phase.
size_t inlinePositionVisits = 0
 Inline-position entries inspected for resets.
size_t mappedTextBytes = 0
 Span text bytes mapped to SVG character indices.

Detailed Description

Optional operation counts for deterministic textLength traversal complexity tests.

Member Data Documentation

◆ glyphVisits

size_t donner::svg::text_engine_detail::TextLengthTraversalStats::glyphVisits = 0

Glyph visits in the per-span adjustment phase.

◆ inlinePositionVisits

size_t donner::svg::text_engine_detail::TextLengthTraversalStats::inlinePositionVisits = 0

Inline-position entries inspected for resets.

◆ mappedTextBytes

size_t donner::svg::text_engine_detail::TextLengthTraversalStats::mappedTextBytes = 0

Span text bytes mapped to SVG character indices.

◆ runVisits

size_t donner::svg::text_engine_detail::TextLengthTraversalStats::runVisits = 0

Run visits in the per-span adjustment phase.


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