// Copyright 2026 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_SHAPE_INTERPOLATION_FUNCTIONS_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_SHAPE_INTERPOLATION_FUNCTIONS_H_

#include "third_party/blink/renderer/core/animation/interpolation_value.h"
#include "third_party/blink/renderer/core/animation/shape_property_functions.h"
#include "third_party/blink/renderer/core/core_export.h"

namespace blink {

class CSSProperty;
class CSSToLengthConversionData;

namespace shape_interpolation_functions {

InterpolationValue MaybeConvertCSSValue(const BasicShapeCssInfo&,
                                        const CSSProperty& property);
CORE_EXPORT InterpolationValue
MaybeConvertBasicShape(const BasicShapeInfo&,
                       const CSSProperty& property,
                       double zoom);
InterpolableValue* CreateNeutralValue(const NonInterpolableValue&);
CORE_EXPORT bool ShapesAreCompatible(const NonInterpolableValue&,
                                     const NonInterpolableValue&);
CORE_EXPORT BasicShapeInfo CreateBasicShape(const InterpolableValue&,
                                            const NonInterpolableValue&,
                                            const CSSToLengthConversionData&);

}  // namespace shape_interpolation_functions

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_ANIMATION_SHAPE_INTERPOLATION_FUNCTIONS_H_
