Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
donner::svg::components::ComputedStopComponent Struct Reference

Stores the computed properties of a "<stop>" element. More...

#include "donner/svg/components/paint/StopComponent.h"

Collaboration diagram for donner::svg::components::ComputedStopComponent:
[legend]

Public Member Functions

 ComputedStopComponent (const StopProperties &inputProperties, const ComputedStyleComponent &style, const std::map< RcString, parser::UnparsedProperty > &unparsedProperties, std::vector< parser::ParseError > *outWarnings)
 Compute the computed properties of a "<stop>" element.
 

Public Attributes

StopProperties properties
 Computed properties of the "<stop>" element.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ComputedStopComponent()

donner::svg::components::ComputedStopComponent::ComputedStopComponent ( const StopProperties & inputProperties,
const ComputedStyleComponent & style,
const std::map< RcString, parser::UnparsedProperty > & unparsedProperties,
std::vector< parser::ParseError > * outWarnings )

Compute the computed properties of a "<stop>" element.

Parameters
inputPropertiesThe properties of the "<stop>" element.
styleThe computed style of the stop element.
unparsedPropertiesThe unparsed properties of the "<stop>" element.
outWarningsThe warnings that were generated during parsing.

The documentation for this struct was generated from the following files: