blob: 7ef910b9a0a144302fbcabc161520a7ef094a028 [file] [log] [blame] [edit]
#ifndef _RIVE_PARAMETRIC_PATH_HPP_
#define _RIVE_PARAMETRIC_PATH_HPP_
#include "rive/math/aabb.hpp"
#include "rive/generated/shapes/parametric_path_base.hpp"
namespace rive
{
class ParametricPath : public ParametricPathBase
{
public:
Vec2D measureLayout(float width,
LayoutMeasureMode widthMode,
float height,
LayoutMeasureMode heightMode) override;
void controlSize(Vec2D size,
LayoutScaleType widthScaleType,
LayoutScaleType heightScaleType,
LayoutDirection direction) override;
void markPathDirty(bool sendToLayout = true) override;
protected:
void widthChanged() override;
void heightChanged() override;
void originXChanged() override;
void originYChanged() override;
};
} // namespace rive
#endif