Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
StyleElementView.h File Reference

How the cascade reads an element for selector keys and ancestors: a shadow entity takes its tag from its own tree entity and its id, classes and attributes from the light element it clones. More...

Include dependency graph for StyleElementView.h:

Classes

class  donner::svg::components::RuleIndexElementView
 An element as the rule index and the ancestor filter read its keys: straight from its components, without copies. A shadow entity reads its tag from its own tree entity and its id, classes and attributes from its light entity. 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,.

Functions

Entity donner::svg::components::StyleDataEntity (const Registry &registry, Entity treeEntity)
 The entity that holds treeEntity's id, classes and attributes: the light element a shadow entity clones, or treeEntity itself.
Entity donner::svg::components::StyleParentElement (const Registry &registry, Entity treeEntity)
 The parent of treeEntity as selector matching walks to it, or entt::null where the walk stops: at a parent that is not an SVG element.

Detailed Description

How the cascade reads an element for selector keys and ancestors: a shadow entity takes its tag from its own tree entity and its id, classes and attributes from the light element it clones.