Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
MatchedPropertiesCache.h File Reference
#include <array>
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include "donner/base/SmallVector.h"
#include "donner/svg/components/style/ComputedStyleComponent.h"
#include "donner/svg/components/style/StyleComponent.h"
Include dependency graph for MatchedPropertiesCache.h:

Classes

struct  donner::svg::components::DisableMatchedPropertiesCacheForTesting
 Context switch for comparing the cached and uncached paths on the same document. More...
struct  donner::svg::components::MatchedOpacityInput
 The resource-specific declaration stored outside the local property registry. More...
struct  donner::svg::components::MatchedPropertiesKey
 Inputs to a computed record. The local component is borrowed only during lookup or insertion. More...
struct  donner::svg::components::MatchedPropertiesEntry
 Record and paint-origin inputs needed to install one occurrence of a shared style. More...
class  donner::svg::components::MatchedPropertiesCache
 Document-local second-chance cache. Each bucket has its own clock and at most eight entries. More...

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.
namespace  donner::svg::components
 Contains the implementation of the Donner ECS,.

Class Documentation

◆ donner::svg::components::DisableMatchedPropertiesCacheForTesting

struct donner::svg::components::DisableMatchedPropertiesCacheForTesting

Context switch for comparing the cached and uncached paths on the same document.

◆ donner::svg::components::MatchedPropertiesEntry

struct donner::svg::components::MatchedPropertiesEntry

Record and paint-origin inputs needed to install one occurrence of a shared style.

Class Members
PropertyState fillState = PropertyState::NotSet
PropertyState strokeState = PropertyState::NotSet
shared_ptr< const ComputedStyle > style