|
|
Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
|
#include <cstddef>#include <string>#include <string_view>#include <vector>#include "donner/editor/FlashDecorations.h"#include "donner/svg/SVGDocument.h"#include "donner/svg/SVGElement.h"Classes | |
| struct | donner::editor::StyleSourceContribution |
| One source-backed style contribution and its source-editor annotation metadata. More... | |
| struct | donner::editor::StyleSourceAnnotations |
| Source annotations derived from CSS cascade analysis. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Enumerations | |
| enum class | donner::editor::StyleContributionKind { StylesheetDeclaration , InlineStyleDeclaration , PresentationAttribute , ReferenceResourceElement } |
| Source contribution kind for editor-side cascade annotations. More... | |
Functions | |
| StyleSourceAnnotations | donner::editor::ComputeStyleSourceAnnotations (svg::SVGDocument &document, std::string_view source) |
Compute source-editor style annotations for document. | |
|
strong |
Source contribution kind for editor-side cascade annotations.
|
nodiscard |
Compute source-editor style annotations for document.
This is intentionally read-only: it describes which source style contributions are selected by the cascade but does not modify rendering, CSS state, or DOM state.
| document | Source-backed SVG document to inspect. |
| source | Source text currently synchronized with document. |