|
|
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.
|
#include <string>Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Functions | |
| std::string | donner::detail::FormatNumberForSVG (double value) |
| Format a single double into the minimum-length round-trippable decimal form. | |
| std::string donner::detail::FormatNumberForSVG | ( | double | value | ) |
Format a single double into the minimum-length round-trippable decimal form.
Defined out-of-line in FormatNumber.cc: this header is included nearly everywhere (via Length.h and Transform.h), and an inline definition instantiates the std::format machinery in every including translation unit.
Used by toSVGTransformString, Path::toSVGPathData, and Length::toRcString().