|
|
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.
|
#include <vector>#include "donner/base/Box.h"#include "donner/base/Length.h"#include "donner/base/Path.h"#include "donner/base/RcString.h"#include "donner/base/Vector2.h"#include "donner/svg/SVGGraphicsElement.h"#include "donner/svg/core/LengthAdjust.h"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. | |
| 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. |