|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
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, a group with the preferred id donner-editor-overlay is emitted. If the source already declares that id, the exporter appends a numeric suffix. If a SelectionChromeSnapshot is supplied to ExportViewportAsSvg the group is populated with serialized overlay primitives; otherwise it is emitted empty (back-compat). | |
Options controlling viewport SVG export behavior.
| bool donner::editor::ViewportExportOptions::includeSelectionOverlay = false |
When true, a group with the preferred id donner-editor-overlay is emitted. If the source already declares that id, the exporter appends a numeric suffix. If a SelectionChromeSnapshot is supplied to ExportViewportAsSvg the group is populated with serialized overlay primitives; otherwise it is emitted empty (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).