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.
Loading...
Searching...
No Matches
donner::editor::app::SourceLoadOptions Struct Reference

Configuration knobs for loading SVG source bytes. More...

#include "donner/editor/app/EditorApp.h"

Public Attributes

std::filesystem::path baseDirectory = std::filesystem::current_path()
 Directory used to resolve relative paths. Defaults to the current working directory.
std::size_t maxFileBytes = 100u * 1024u * 1024u
 Maximum number of bytes the loader will read from a single file.

Detailed Description

Configuration knobs for loading SVG source bytes.

Member Data Documentation

◆ baseDirectory

std::filesystem::path donner::editor::app::SourceLoadOptions::baseDirectory = std::filesystem::current_path()

Directory used to resolve relative paths. Defaults to the current working directory.

◆ maxFileBytes

std::size_t donner::editor::app::SourceLoadOptions::maxFileBytes = 100u * 1024u * 1024u

Maximum number of bytes the loader will read from a single file.


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