|
|
Donner
C++20 SVG rendering library
|
Computed properties for a "<rect>" element, which applies values from the CSS cascade. More...
#include "donner/svg/components/shape/RectComponent.h"
Public Member Functions | |
| ComputedRectComponent (const RectProperties &inputProperties, const std::map< RcString, parser::UnparsedProperty > &unparsedProperties, std::vector< ParseError > *outWarnings) | |
| Construct a ComputedRectComponent from the input properties and unparsed properties. | |
Public Attributes | |
| RectProperties | properties |
| The computed properties for the rectangle. | |
Computed properties for a "<rect>" element, which applies values from the CSS cascade.
| donner::svg::components::ComputedRectComponent::ComputedRectComponent | ( | const RectProperties & | inputProperties, |
| const std::map< RcString, parser::UnparsedProperty > & | unparsedProperties, | ||
| std::vector< ParseError > * | outWarnings ) |
Construct a ComputedRectComponent from the input properties and unparsed properties.
| inputProperties | The input properties for the rectangle. |
| unparsedProperties | The unparsed properties for the rectangle, which may contain presentation attributes set in the CSS stylesheet which need to be applied to the element. |
| outWarnings | A vector to append any warnings to. |