|
|
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 "donner/svg/parser/SVGParser.h"Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| svg::parser::SVGParser::Options | donner::editor::EditorParseOptions () |
| Parse options for editor documents. The editor round-trips user content, so the parser must PRESERVE user / data-* attributes in the DOM rather than dropping them - editor features read them back via getAttribute (e.g. IsLocked reads data-donner-locked), and a save must not silently lose the user's own attributes. The library default disableUserAttributes = true is correct for a strict renderer, not for an authoring tool. Every editor-side parse (document load, structural replace, clipboard validation) uses this. | |