blob: 648af20a80268c80b7b65f541025d015599ac500 [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& svgValue) const final;
InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying,
ConversionCheckers&) const final;
PairwiseInterpolationValue maybeMergeSingles(
InterpolationValue&& start,
InterpolationValue&& end) const final;
void composite(UnderlyingValueOwner&,
double underlyingFraction,
const InterpolationValue&,
double interpolationFraction) const final;
SVGPropertyBase* appliedSVGValue(const InterpolableValue&,
const NonInterpolableValue*) const final;
};
} // namespace blink
#endif // SVGPathInterpolationType_h