#include "modules/skottie/src/animator/VectorKeyframeAnimator.h"
#include "include/core/SkColor.h"
#include "include/core/SkCubicMap.h"
#include "include/core/SkM44.h"
#include "include/core/SkScalar.h"
#include "include/core/SkString.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkTFitsIn.h"
#include "include/private/base/SkTPin.h"
#include "include/private/base/SkTo.h"
#include "modules/skottie/include/Skottie.h"
#include "modules/skottie/include/SlotManager.h"
#include "modules/skottie/src/SkottieJson.h"
#include "modules/skottie/src/SkottiePriv.h"
#include "modules/skottie/src/SkottieValue.h"
#include "modules/skottie/src/animator/Animator.h"
#include "src/base/SkSafeMath.h"
#include "src/base/SkVx.h"
#include "src/utils/SkJSON.h"
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <utility>
namespace skottie {
static bool parse_array(const skjson::ArrayValue* ja, float* a, size_t count) { … }
operator SkV3()
operator unsigned int()
operator SkRGBA4f()
namespace internal {
namespace {
class VectorKeyframeAnimator final : public KeyframeAnimator { … };
class VectorExpressionAnimator final : public Animator { … };
}
VectorAnimatorBuilder::VectorAnimatorBuilder(std::vector<float>* target,
VectorLenParser parse_len,
VectorDataParser parse_data)
: … { … }
sk_sp<KeyframeAnimator> VectorAnimatorBuilder::makeFromKeyframes(const AnimationBuilder& abuilder,
const skjson::ArrayValue& jkfs) { … }
sk_sp<Animator> VectorAnimatorBuilder::makeFromExpression(ExpressionManager& em, const char* expr) { … }
bool VectorAnimatorBuilder::parseValue(const AnimationBuilder&,
const skjson::Value& jv) const { … }
bool VectorAnimatorBuilder::parseKFValue(const AnimationBuilder&,
const skjson::ObjectValue&,
const skjson::Value& jv,
Keyframe::Value* kfv) { … }
template <>
bool AnimatablePropertyContainer::bind<VectorValue>(const AnimationBuilder& abuilder,
const skjson::ObjectValue* jprop,
VectorValue* v) { … }
template <>
bool AnimatablePropertyContainer::bind<ColorValue>(const AnimationBuilder& abuilder,
const skjson::ObjectValue* jprop,
ColorValue* v) { … }
}
}