Chromium Code Reviews| Index: third_party/WebKit/Source/core/animation/PathInterpolation.h |
| diff --git a/third_party/WebKit/Source/core/animation/PathInterpolation.h b/third_party/WebKit/Source/core/animation/PathInterpolation.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..e5899e825734c567c1510a5e08b593a6cdd6b9bd |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/animation/PathInterpolation.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2016 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 PathInterpolation_h |
| +#define PathInterpolation_h |
| + |
| +#include "core/animation/InterpolationType.h" |
| +#include "core/svg/SVGPathByteStream.h" |
| + |
| +namespace blink { |
| + |
| +class PathInterpolation { |
|
alancutter (OOO until 2018)
2016/01/15 05:16:44
s/PathInterpolation/PathInterpolationFunctions/ fo
Eric Willigers
2016/01/18 06:19:54
Done.
|
| +public: |
| + static PassRefPtr<SVGPathByteStream> appliedValue(const InterpolableValue&, const NonInterpolableValue*); |
| + |
| + static void composite(UnderlyingValue&, double underlyingFraction, const InterpolationValue&); |
| + |
| + static PassOwnPtr<InterpolationValue> convertValue(const InterpolationType&, const SVGPathByteStream&); |
| + |
| + static PassOwnPtr<InterpolationValue> maybeConvertNeutral(const InterpolationType&, const UnderlyingValue&, InterpolationType::ConversionCheckers&); |
| + |
| + static PassOwnPtr<PairwisePrimitiveInterpolation> mergeSingleConversions(const InterpolationType&, InterpolationValue& startValue, InterpolationValue& endValue); |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // PathInterpolation_h |