Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
TextEngine.h File Reference
#include <cstddef>
#include <memory>
#include <optional>
#include <span>
#include <unordered_map>
#include <vector>
#include "donner/base/ParseDiagnostic.h"
#include "donner/base/ParseWarningSink.h"
#include "donner/css/FontFace.h"
#include "donner/svg/components/text/ComputedTextComponent.h"
#include "donner/svg/components/text/ComputedTextGeometryComponent.h"
#include "donner/svg/resources/FontManager.h"
#include "donner/svg/text/TextBackend.h"
#include "donner/svg/text/TextLayoutParams.h"
#include "donner/svg/text/TextTypes.h"
Include dependency graph for TextEngine.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::TextStyleContext
 Internal, frame-owned mapping from authored text entities to one rendered instance's styles. Callers pass it synchronously; layout and draw results retain no reference to this map. More...
class  donner::svg::TextEngine
 Shared SVG text engine. More...
struct  donner::svg::TextEngine::GlyphOutline
 A placed glyph outline paired with the source element that produced it. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.

Class Documentation

◆ donner::svg::TextEngine::GlyphOutline

struct donner::svg::TextEngine::GlyphOutline

A placed glyph outline paired with the source element that produced it.

Class Members
Path path Glyph outline in text-element local coordinates.
Entity sourceEntity = entt::null Span source entity (text/tspan) that owns this glyph.