|
|
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.
|
Stores the computed properties of a <stop> element. More...
#include "donner/svg/components/paint/StopComponent.h"
Public Member Functions | |
| ComputedStopComponent (const StopProperties &inputProperties, const ComputedStyleComponent &style, const std::map< RcString, parser::UnparsedProperty > &unparsedProperties, ParseWarningSink &warningSink) | |
| Compute the computed properties of a <stop> element. | |
Public Attributes | |
| StopProperties | properties |
| Computed properties of the <stop> element. | |
Stores the computed properties of a <stop> element.
This is used to store the resolved properties combining both the XML tree and the CSS tree, with currentColor resolved.
| donner::svg::components::ComputedStopComponent::ComputedStopComponent | ( | const StopProperties & | inputProperties, |
| const ComputedStyleComponent & | style, | ||
| const std::map< RcString, parser::UnparsedProperty > & | unparsedProperties, | ||
| ParseWarningSink & | warningSink ) |