Flutter Engine
The Flutter Engine
|
#include <VectorKeyframeAnimator.h>
Public Types | |
using | VectorLenParser = bool(*)(const skjson::Value &, size_t *) |
using | VectorDataParser = bool(*)(const skjson::Value &, size_t, float *) |
Public Member Functions | |
VectorAnimatorBuilder (std::vector< float > *, VectorLenParser, VectorDataParser) | |
sk_sp< KeyframeAnimator > | makeFromKeyframes (const AnimationBuilder &, const skjson::ArrayValue &) override |
sk_sp< Animator > | makeFromExpression (ExpressionManager &, const char *) override |
Public Member Functions inherited from skottie::internal::AnimatorBuilder | |
virtual | ~AnimatorBuilder () |
virtual sk_sp< KeyframeAnimator > | makeFromKeyframes (const AnimationBuilder &, const skjson::ArrayValue &)=0 |
virtual sk_sp< Animator > | makeFromExpression (ExpressionManager &, const char *)=0 |
virtual bool | parseValue (const AnimationBuilder &, const skjson::Value &) const =0 |
Public Member Functions inherited from SkNoncopyable | |
SkNoncopyable ()=default | |
SkNoncopyable (SkNoncopyable &&)=default | |
SkNoncopyable & | operator= (SkNoncopyable &&)=default |
Additional Inherited Members | |
Protected Member Functions inherited from skottie::internal::AnimatorBuilder | |
AnimatorBuilder (Keyframe::Value::Type ty) | |
virtual bool | parseKFValue (const AnimationBuilder &, const skjson::ObjectValue &, const skjson::Value &, Keyframe::Value *)=0 |
bool | parseKeyframes (const AnimationBuilder &, const skjson::ArrayValue &) |
Protected Attributes inherited from skottie::internal::AnimatorBuilder | |
std::vector< Keyframe > | fKFs |
std::vector< SkCubicMap > | fCMs |
Definition at line 31 of file VectorKeyframeAnimator.h.
using skottie::internal::VectorAnimatorBuilder::VectorDataParser = bool(*)(const skjson::Value&, size_t, float*) |
Definition at line 34 of file VectorKeyframeAnimator.h.
using skottie::internal::VectorAnimatorBuilder::VectorLenParser = bool(*)(const skjson::Value&, size_t*) |
Definition at line 33 of file VectorKeyframeAnimator.h.
skottie::internal::VectorAnimatorBuilder::VectorAnimatorBuilder | ( | std::vector< float > * | target, |
VectorLenParser | parse_len, | ||
VectorDataParser | parse_data | ||
) |
Definition at line 189 of file VectorKeyframeAnimator.cpp.
|
overridevirtual |
Implements skottie::internal::AnimatorBuilder.
Definition at line 234 of file VectorKeyframeAnimator.cpp.
|
overridevirtual |
Implements skottie::internal::AnimatorBuilder.
Definition at line 197 of file VectorKeyframeAnimator.cpp.