blob: 534dfc4c6fc7a03f64e32051576645949e464123 [file] [log] [blame]
#include "rive/math/aabb.hpp"
#include "rive/shapes/parametric_path.hpp"
using namespace rive;
AABB ParametricPath::computeIntrinsicSize(AABB min, AABB max)
{
return AABB::fromLTWH(0, 0, width(), height());
}
void ParametricPath::controlSize(AABB size)
{
width(size.width());
height(size.height());
markWorldTransformDirty();
}
void ParametricPath::widthChanged() { markPathDirty(); }
void ParametricPath::heightChanged() { markPathDirty(); }
void ParametricPath::originXChanged() { markPathDirty(); }
void ParametricPath::originYChanged() { markPathDirty(); }