|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
Component that controls how the attached element is rendered, determines how different element types are rendered. More...
#include "donner/svg/components/RenderingBehaviorComponent.h"
Public Member Functions | |
| RenderingBehaviorComponent (RenderingBehavior behavior) | |
| Constructor. | |
Public Attributes | |
| RenderingBehavior | behavior = RenderingBehavior::Default |
| The rendering behavior of the element, defaults to RenderingBehavior::Default (renderable and traversable). | |
| bool | inheritsParentTransform = true |
| Whether or not this element inherits its parent's transform. | |
| bool | appliesSelfTransform = true |
| Whether or not this element applies its own transform to children. | |
Component that controls how the attached element is rendered, determines how different element types are rendered.
Allows changing behavior about if an element or children are rendered, and whether or not they contribute to the transform tree.