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::ActivePaintStyle Struct Reference

Active paint settings used by authoring tools when creating new geometry. More...

#include "donner/editor/EditorApp.h"

Public Attributes

std::string fill = "white"
 SVG fill attribute for new geometry.
std::string stroke = "black"
 SVG stroke attribute for new geometry.
double strokeWidth = 1.0
 SVG stroke-width attribute for new geometry.

Detailed Description

Active paint settings used by authoring tools when creating new geometry.

Member Data Documentation

◆ fill

std::string donner::editor::ActivePaintStyle::fill = "white"

SVG fill attribute for new geometry.

◆ stroke

std::string donner::editor::ActivePaintStyle::stroke = "black"

SVG stroke attribute for new geometry.

◆ strokeWidth

double donner::editor::ActivePaintStyle::strokeWidth = 1.0

SVG stroke-width attribute for new geometry.


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