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

Source range for a referenced paint server shown by the toolbar. More...

#include "donner/editor/EditorShellInternal.h"

Public Attributes

std::string href
 Authored paint-server reference.
std::optional< css::Color > fallback
 Unresolved authored fallback, including currentColor.
bool external = false
 Whether the reference points outside the current document.
std::optional< SourceByteRange > sourceRange
 Authored byte range of the reference, when available.

Detailed Description

Source range for a referenced paint server shown by the toolbar.

Member Data Documentation

◆ external

bool donner::editor::internal::ToolbarPaintReferenceState::external = false

Whether the reference points outside the current document.

◆ fallback

std::optional<css::Color> donner::editor::internal::ToolbarPaintReferenceState::fallback

Unresolved authored fallback, including currentColor.

◆ href

std::string donner::editor::internal::ToolbarPaintReferenceState::href

Authored paint-server reference.

◆ sourceRange

std::optional<SourceByteRange> donner::editor::internal::ToolbarPaintReferenceState::sourceRange

Authored byte range of the reference, when available.


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