1 #include "rive/transform_component.hpp"
2 #include "rive/shapes/clipping_shape.hpp"
3 #include "rive/math/vec2d.hpp"
4 #include "rive/constraints/constraint.hpp"
8 float WorldTransformComponent::childOpacity() { return opacity(); }
10 void WorldTransformComponent::markWorldTransformDirty() {
11 addDirt(ComponentDirt::WorldTransform, true);
14 const Mat2D& WorldTransformComponent::worldTransform() const { return m_WorldTransform; }
16 Mat2D& WorldTransformComponent::mutableWorldTransform() { return m_WorldTransform; }
18 void WorldTransformComponent::opacityChanged() { addDirt(ComponentDirt::RenderOpacity, true); }