|
|
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.
|
Options controlling viewport SVG export behavior. More...
#include "donner/editor/ViewportSvgExport.h"
Public Attributes | |
| bool | transparentBackground = true |
| When true, the exported SVG preserves transparency (no background rect). When false, a covering background rect is prepended (white fallback). | |
| bool | includeSelectionOverlay = false |
| When true, an id="donner-editor-overlay" group is emitted. If a SelectionChromeSnapshot is supplied to ExportViewportAsSvg the group is populated with serialized overlay primitives; otherwise it is emitted empty (M6 back-compat). | |
Options controlling viewport SVG export behavior.
| bool donner::editor::ViewportExportOptions::includeSelectionOverlay = false |
When true, an id="donner-editor-overlay" group is emitted. If a SelectionChromeSnapshot is supplied to ExportViewportAsSvg the group is populated with serialized overlay primitives; otherwise it is emitted empty (M6 back-compat).
| bool donner::editor::ViewportExportOptions::transparentBackground = true |
When true, the exported SVG preserves transparency (no background rect). When false, a covering background rect is prepended (white fallback).