chromium/third_party/blink/renderer/core/svg/animation/smil_animation_effect_parameters.h

// Copyright 2020 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_SVG_ANIMATION_SMIL_ANIMATION_EFFECT_PARAMETERS_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_SVG_ANIMATION_SMIL_ANIMATION_EFFECT_PARAMETERS_H_

namespace blink {

// This struct describes the parameters needed to apply the animation
// effect function.
// https://www.w3.org/TR/SMIL/smil-animation.html#animationNS-AnimationEffectFcn
struct SMILAnimationEffectParameters {};

// Compute the animated number value, excluding additive behavior, based on
// effect parameters and timing data.
inline float ComputeAnimatedNumber(
    const SMILAnimationEffectParameters& parameters,
    float percentage,
    unsigned repeat_count,
    float from_number,
    float to_number,
    float to_at_end_of_duration_number) {}

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_SVG_ANIMATION_SMIL_ANIMATION_EFFECT_PARAMETERS_H_