|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
In-memory generator for the Donner editor showcase. More...
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| Result< std::string, std::string > | donner::editor::GenerateShowcaseAsset (std::string_view source) |
| Generate the v0.8 editor showcase from an SVG document. | |
In-memory generator for the Donner editor showcase.
| Result< std::string, std::string > donner::editor::GenerateShowcaseAsset | ( | std::string_view | source | ) |
Generate the v0.8 editor showcase from an SVG document.
The generated SVG exercises the same text-to-outlines and viewport-export paths as the interactive editor. It is returned in memory so demos and tests can create the derived showcase on demand without checking generated assets into the repository.
| source | Base SVG source. The repository's canonical input is donner_splash.svg; callers must not supply live <text> or the generator's reserved showcase_svg_label* and donner-editor-overlay ids. |