|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Classes | |
| struct | donner::svg::components::SymbolComponent |
| Stores unique parameters for the <symbol> element. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
| namespace | donner::svg |
| Donner SVG library, which can load, manipulate and render SVG files. | |
| namespace | donner::svg::components |
| Contains the implementation of the Donner ECS,. | |
| struct donner::svg::components::SymbolComponent |
Stores unique parameters for the <symbol> element.
refX and refY provide a reference point (if needed) when the symbol is instantiated by a <use> element. Per SVG2 they accept a <length> (including percentages, which resolve against the symbol's viewBox at layout time) or a keyword that maps to a percentage: refX left/center/right → 0%/50%/100%, refY top/center/bottom → 0%/50%/100%.
| Class Members | ||
|---|---|---|
| SizedElementProperties | properties | The properties of the sized element, x, y, width, height. |
| Lengthd | refX | The reference x coordinate. Defaults to 0 (no unit). |
| Lengthd | refY | The reference y coordinate. Defaults to 0 (no unit). |