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 <string_view>#include "donner/base/EcsRegistry.h"#include "donner/base/StringUtils.h"#include "donner/base/xml/XMLQualifiedName.h"#include "donner/base/xml/components/AttributesComponent.h"#include "donner/base/xml/components/TreeComponent.h"#include "donner/svg/components/ClassComponent.h"#include "donner/svg/components/ElementTypeComponent.h"#include "donner/svg/components/IdComponent.h"#include "donner/svg/components/shadow/ShadowEntityComponent.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 ®istry, 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 ®istry, 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. | |
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.