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
DescriptiveTextComponent.h File Reference
Include dependency graph for DescriptiveTextComponent.h:

Classes

struct  donner::svg::components::DescriptiveTextComponent
 Stores the concatenated text content of a descriptive element, such as "<title>", "<desc>", or "<metadata>". 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.
namespace  donner::svg::components
 Contains the implementation of the Donner ECS,.

Class Documentation

◆ donner::svg::components::DescriptiveTextComponent

struct donner::svg::components::DescriptiveTextComponent

Stores the concatenated text content of a descriptive element, such as "<title>", "<desc>", or "<metadata>".

Descriptive elements are never rendered; their text is retained purely so it can be surfaced through the DOM (for accessibility tooling, tooltips, and document metadata). The SVG element tree does not keep the source Data/CData child nodes that the XML parse tree carried, so this component is the authoritative live text source, mirroring how StylesheetComponent retains the raw CSS text for <style>.

Class Members
RcString text The concatenated text content of the descriptive element.