Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
StyleSystem.h File Reference
Include dependency graph for StyleSystem.h:
This graph shows which files directly or indirectly include this file:

Classes

class  donner::svg::components::StyleResourceBudget
 Aggregate stylesheet cascade and selector traversal budget for one style-computation pass. More...
struct  donner::svg::components::StyleResourceBudget::Limits
struct  donner::svg::components::MatchedStyleRule
 Diagnostic record for one stylesheet rule that matched an element. More...
struct  donner::svg::components::StyleRuleAtSourceOffset
 Stylesheet rule found at a document source offset. More...
class  donner::svg::components::StyleSystem
 Computes stylesheet information for elements, applying the CSS cascade and inheritance rules. 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::StyleResourceBudget::Limits

struct donner::svg::components::StyleResourceBudget::Limits
Class Members
size_t complexPropertyBytes = kMaximumComplexPropertyBytes
size_t declarationApplications = kMaximumDeclarationApplications
size_t declarationByteWork = kMaximumDeclarationByteWork
size_t declarationComponentWork = kMaximumDeclarationComponentWork
size_t ruleElementMatches = kMaximumRuleElementMatches
size_t selectorTraversalSteps = css::SelectorTraversalBudget::kMaximumSteps