|
|
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.
|
Represents a reference to another element, which originates from a url() reference. Should point to another paint server. More...
#include "donner/svg/properties/PaintServer.h"
Public Member Functions | |
| ElementReference (Reference reference, std::optional< css::Color > fallback=std::nullopt) | |
| Construct a reference to another element with the given reference and fallback color. | |
| bool | operator== (const ElementReference &) const =default |
| Equality operator. | |
Public Attributes | |
| Reference | reference |
| The reference to the other element. | |
| std::optional< css::Color > | fallback |
| A fallback color which is used if the referenced element is not found. If not specified, the paint will fallback to None. | |
Represents a reference to another element, which originates from a url() reference. Should point to another paint server.