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

Classes

struct  donner::svg::components::HyperlinkComponent
 Stores the hyperlink target for an <a> element. 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::HyperlinkComponent

struct donner::svg::components::HyperlinkComponent

Stores the hyperlink target for an <a> element.

The <a> element is a transparent grouping/text-content container whose only element-specific state is the link target (href / xlink:href). The reference is retained so it round-trips through the DOM, but it does not affect rendering - Donner has no interactive navigation, so the link target is purely informational, matching how resvg rasterizes <a>.

Class Members
RcString href Link target, an IRI reference (e.g. "https://example.com/" or "#fragment").