Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::EditorSample Struct Reference

One built-in SVG document that can be loaded by editor UI surfaces. More...

#include "donner/editor/EditorSampleCatalog.h"

Public Attributes

std::string_view id
 Stable ASCII identifier used by UI state and commands.
std::string_view title
 Human-readable sample-picker label.
EditorSampleSource source
 Deferred complete SVG document source.

Detailed Description

One built-in SVG document that can be loaded by editor UI surfaces.

The application resource session owns backing bytes. Keep it alive while consuming sources.

Member Data Documentation

◆ id

std::string_view donner::editor::EditorSample::id

Stable ASCII identifier used by UI state and commands.

◆ source

EditorSampleSource donner::editor::EditorSample::source

Deferred complete SVG document source.

◆ title

std::string_view donner::editor::EditorSample::title

Human-readable sample-picker label.


The documentation for this struct was generated from the following file: