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

Inputs to a computed record. The local component is borrowed only during lookup or insertion. More...

#include "donner/svg/components/style/MatchedPropertiesCache.h"

Public Member Functions

void addRule (std::uint64_t sheetRevision, std::size_t ordinal, std::uint32_t index, css::Specificity specificity)
 Record one matched rule, in application order, after origin adjustment.
bool cacheable () const
 Oversize keys use the ordinary cascade.

Public Attributes

std::shared_ptr< const ComputedStyle > parent
std::shared_ptr< const ComputedStyle > root
const StyleComponent * localStyle = nullptr
std::optional< ElementType > elementType
bool noInheritPaint = false
bool instanceSymbol = false
bool documentRoot = false
MatchedOpacityInput stop
MatchedOpacityInput flood

Friends

class MatchedPropertiesCache
struct MatchedPropertiesCacheTestPeer

Detailed Description

Inputs to a computed record. The local component is borrowed only during lookup or insertion.


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