Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::text_engine_detail::InlineDisplacement Struct Reference

An authored inline displacement consumed by one positioned glyph group. More...

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

Public Attributes

size_t runIndex = 0
 Run containing the consuming group.
size_t glyphIndex = 0
 First glyph of that group within the run.
double distance = 0.0
 Resolved dx, or dy in vertical writing, in pixels.

Detailed Description

An authored inline displacement consumed by one positioned glyph group.

Member Data Documentation

◆ distance

double donner::svg::text_engine_detail::InlineDisplacement::distance = 0.0

Resolved dx, or dy in vertical writing, in pixels.

◆ glyphIndex

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

First glyph of that group within the run.

◆ runIndex

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

Run containing the consuming group.


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