Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
donner::svg::components::RenderingBehaviorComponent Struct Reference

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.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: