Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::editor::repro::ReproRecorderOptions Struct Reference

Options passed at construction. All fields populated from editor startup state; the recorder copies what it needs. More...

#include "donner/editor/repro/ReproRecorder.h"

Collaboration diagram for donner::editor::repro::ReproRecorderOptions:
[legend]

Public Attributes

std::filesystem::path outputPath
 Path where the .donner-repro file will be written.
std::string svgPath
 SVG file the editor is editing. Stored verbatim in the metadata.
std::optional< std::string > svgSource
 Initial SVG source loaded into the source pane. When present, the recorder embeds it in metadata so replay does not depend on a mutable external file path.
int windowWidth = 0
 Initial logical window dimensions at recording start.
int windowHeight = 0
double displayScale = 1.0
 Initial HiDPI scale.
bool experimentalMode = false
 Legacy composited-mode metadata kept for old .rnr compatibility.

Detailed Description

Options passed at construction. All fields populated from editor startup state; the recorder copies what it needs.

Member Data Documentation

◆ displayScale

double donner::editor::repro::ReproRecorderOptions::displayScale = 1.0

Initial HiDPI scale.

◆ experimentalMode

bool donner::editor::repro::ReproRecorderOptions::experimentalMode = false

Legacy composited-mode metadata kept for old .rnr compatibility.

◆ outputPath

std::filesystem::path donner::editor::repro::ReproRecorderOptions::outputPath

Path where the .donner-repro file will be written.

◆ svgPath

std::string donner::editor::repro::ReproRecorderOptions::svgPath

SVG file the editor is editing. Stored verbatim in the metadata.

◆ svgSource

std::optional<std::string> donner::editor::repro::ReproRecorderOptions::svgSource

Initial SVG source loaded into the source pane. When present, the recorder embeds it in metadata so replay does not depend on a mutable external file path.

◆ windowHeight

int donner::editor::repro::ReproRecorderOptions::windowHeight = 0

◆ windowWidth

int donner::editor::repro::ReproRecorderOptions::windowWidth = 0

Initial logical window dimensions at recording start.


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