Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::parser::UnparsedProperty Struct Reference

Represents an unparsed property, which is a CSS property that is element-specific and needs to be matched with the actual element before it can be parsed and applied. More...

#include "donner/svg/properties/PropertyParsing.h"

Public Member Functions

const css::Declaration & sourceDeclaration () const

Public Attributes

css::Declaration declaration
 CSS declaration, e.g. "transform: translate(10px, 20px);". Contains the name and list of css::ComponentValue for the value.
css::Specificity specificity
 Specificity of the declaration.
std::shared_ptr< const css::Declaration > presentationVariable = nullptr
 A presentation value hidden by an inline declaration, needed if that inline value is reset.
bool substituted = false
 Geometry parsing still needs to validate this substituted value.
bool variableFromPresentation = false
 The pending winner was authored as an SVG presentation attribute.
std::shared_ptr< const css::Declaration > variableSource = nullptr
 One unresolved declaration can own more than one longhand.

Detailed Description

Represents an unparsed property, which is a CSS property that is element-specific and needs to be matched with the actual element before it can be parsed and applied.

For example, the transform property.


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