blob: 649cc859020c029e59134a67f3b98fe505ac4868 [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SVGPathInterpolationType_h
#define SVGPathInterpolationType_h
#include "core/animation/SVGInterpolationType.h"
namespace blink {
class SVGPathInterpolationType : public SVGInterpolationType {
public:
SVGPathInterpolationType(const QualifiedName& attribute)
: SVGInterpolationType(attribute) {}
private:
InterpolationValue MaybeConvertSVGValue(
const SVGPropertyBase& svg_value) const final;
InterpolationValue MaybeConvertNeutral(const InterpolationValue& underlying,
ConversionCheckers&) const final;
PairwiseInterpolationValue MaybeMergeSingles(
InterpolationValue&& start,
InterpolationValue&& end) const final;
void Composite(UnderlyingValueOwner&,
double underlying_fraction,
const InterpolationValue&,
double interpolation_fraction) const final;
SVGPropertyBase* AppliedSVGValue(const InterpolableValue&,
const NonInterpolableValue*) const final;
};
} // namespace blink
#endif // SVGPathInterpolationType_h