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

Computed properties for a "<circle>" element, which applies values from the CSS cascade. More...

#include "donner/svg/components/shape/CircleComponent.h"

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

Public Member Functions

 ComputedCircleComponent (const CircleProperties &inputProperties, const std::map< RcString, parser::UnparsedProperty > &unparsedProperties, std::vector< parser::ParseError > *outWarnings)
 Construct a ComputedCircleComponent from the input properties and unparsed properties.
 

Public Attributes

CircleProperties properties
 The computed properties for the circle.
 

Detailed Description

Computed properties for a "<circle>" element, which applies values from the CSS cascade.

Constructor & Destructor Documentation

◆ ComputedCircleComponent()

donner::svg::components::ComputedCircleComponent::ComputedCircleComponent ( const CircleProperties & inputProperties,
const std::map< RcString, parser::UnparsedProperty > & unparsedProperties,
std::vector< parser::ParseError > * outWarnings )

Construct a ComputedCircleComponent from the input properties and unparsed properties.

Parameters
inputPropertiesThe input properties for the circle.
unparsedPropertiesThe unparsed properties for the circle, which may contain presentation attributes set in the CSS stylesheet which need to be applied to the element.
outWarningsA vector to append any warnings to.

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