Skip to main content

PlottingSVG::SVGExportParams

PlottingSVG::SVGExportParams

Canvas size and background fill for legacy DataViewer SVG export. More…

#include <SVGExport.hpp>

Public Attributes

Name
int canvas_width
int canvas_height
std::string background_color

Detailed Description

struct PlottingSVG::SVGExportParams;

Canvas size and background fill for legacy DataViewer SVG export.

Precondition: ).

[background_color](/api_generated/Classes/structPlottingSVG_1_1SVGExportParams.md#variable-background-color) is inserted verbatim into a double-quoted fill attribute; callers must supply a safe SVG paint token (see [buildSVGDocument](/api_generated/Namespaces/namespacePlottingSVG.md#function-buildsvgdocument)

Public Attributes Documentation

variable canvas_width

int canvas_width {1920};

variable canvas_height

int canvas_height {1080};

variable background_color

std::string background_color {"#1E1E1E"};

Updated on 2026-11-13 at 20:25:41 +0000