| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PathInterpolationFunctions_h |
| 6 #define PathInterpolationFunctions_h |
| 7 |
| 8 #include "core/animation/InterpolationType.h" |
| 9 #include "core/svg/SVGPathByteStream.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class PathInterpolationFunctions { |
| 14 public: |
| 15 static PassRefPtr<SVGPathByteStream> appliedValue(const InterpolableValue&,
const NonInterpolableValue*); |
| 16 |
| 17 static void composite(UnderlyingValue&, double underlyingFraction, const Int
erpolationValue&); |
| 18 |
| 19 static PassOwnPtr<InterpolationValue> convertValue(const InterpolationType&,
const SVGPathByteStream&); |
| 20 |
| 21 static PassOwnPtr<InterpolationValue> maybeConvertNeutral(const Interpolatio
nType&, const UnderlyingValue&, InterpolationType::ConversionCheckers&); |
| 22 |
| 23 static PassOwnPtr<PairwisePrimitiveInterpolation> mergeSingleConversions(con
st InterpolationType&, InterpolationValue& startValue, InterpolationValue& endVa
lue); |
| 24 }; |
| 25 |
| 26 } // namespace blink |
| 27 |
| 28 #endif // PathInterpolationFunctions_h |
| OLD | NEW |