|
|
int | drawOrder = 0 |
| | The draw order of the element, computed from the traversal order of the tree.
|
|
bool | visible = true |
| | Whether the element is visible. Note that elements may still influence rendering behavior when they are hidden, such as "<pattern>" elements.
|
|
bool | isolatedLayer = false |
| | True if this instance establishes a new rendering layer, such as if there is opacity.
|
|
Transformd | entityFromWorldTransform |
| | The canvas-space transform of the element, element-from-world.
|
|
std::optional< Boxd > | clipRect |
| | The clip rect of the element, if set.
|
|
std::optional< ResolvedClipPath > | clipPath |
| | The clip path of the element, if set.
|
|
std::optional< ResolvedMask > | mask |
| | The mask of the element, if set.
|
|
std::optional< ResolvedMarker > | markerStart |
| | The resolved marker for marker-start, if any.
|
|
std::optional< ResolvedMarker > | markerMid |
| | The resolved marker for marker-mid, if any.
|
|
std::optional< ResolvedMarker > | markerEnd |
| | The resolved marker for marker-end, if any.
|
|
Entity | dataEntity = entt::null |
| | The entity containing the structural components of the instance, element-specific components like IdComponent.
|
|
ResolvedPaintServer | resolvedFill = PaintServer::None() |
| | The resolved paint server for the instance's fill, if any.
|
|
ResolvedPaintServer | resolvedStroke = PaintServer::None() |
| | The resolved paint server for the instance's stroke, if any.
|
|
std::optional< ResolvedFilterEffect > | resolvedFilter |
| | The resolved filter effect on this instance, if any.
|
|
std::optional< SubtreeInfo > | subtreeInfo |
| | Information about this elements subtree, if there is a rendering-influencing subtree attached to this entity.
|
An instance of the entity in the rendering tree.
Each renderered entity has an instance with a unique drawOrder, which enables this list to be sorted and traversed to render the tree.