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
SVGTextContentElement.h File Reference
Include dependency graph for SVGTextContentElement.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  donner::svg::TextGlyphOutline
 A single placed glyph outline paired with the element that painted it. More...
class  donner::svg::SVGTextContentElement
 Base class for elements that support rendering child text content. 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::TextGlyphOutline

struct donner::svg::TextGlyphOutline

A single placed glyph outline paired with the element that painted it.

source is the <text> or <tspan> whose computed style (fill, stroke, opacity, paint-server reference, currentColor, ...) colors this glyph. Callers that must preserve per-span paint - such as "Convert Text to Outlines" - resolve paint from source.getComputedStyle() rather than from the text root's attributes alone.

Class Members
Path path Glyph outline in text-element local coordinates.
SVGElement source Element (text/tspan) whose computed style paints this glyph.