Chromium Code Reviews| 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 PathInterpolation_h | |
| 6 #define PathInterpolation_h | |
| 7 | |
| 8 #include "core/animation/InterpolationType.h" | |
| 9 #include "core/svg/SVGPathByteStream.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 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.
| |
| 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 // PathInterpolation_h | |
| OLD | NEW |