|
|
Donner
C++20 SVG rendering library
|
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.