|
|
Donner
C++20 SVG rendering library
|
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.