Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
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 = 16u * 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 = 16u * 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: