Lines Matching refs:Animation
111 auto animation = skottie::Animation::Builder() in Make()
192 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation()
197 sk_sp<skottie::Animation> fAnimation;
354 class_<skottie::Animation>("Animation") in EMSCRIPTEN_BINDINGS()
355 .smart_ptr<sk_sp<skottie::Animation>>("sk_sp<Animation>") in EMSCRIPTEN_BINDINGS()
356 .function("version", optional_override([](skottie::Animation& self)->std::string { in EMSCRIPTEN_BINDINGS()
359 .function("size" , &skottie::Animation::size) in EMSCRIPTEN_BINDINGS()
360 .function("duration", &skottie::Animation::duration) in EMSCRIPTEN_BINDINGS()
361 .function("fps" , &skottie::Animation::fps) in EMSCRIPTEN_BINDINGS()
362 .function("seek", optional_override([](skottie::Animation& self, SkScalar t)->void { in EMSCRIPTEN_BINDINGS()
365 .function("seekFrame", optional_override([](skottie::Animation& self, double t)->void { in EMSCRIPTEN_BINDINGS()
368 .function("render", optional_override([](skottie::Animation& self, SkCanvas* canvas)->void { in EMSCRIPTEN_BINDINGS()
371 .function("render", optional_override([](skottie::Animation& self, SkCanvas* canvas, in EMSCRIPTEN_BINDINGS()
376 function("MakeAnimation", optional_override([](std::string json)->sk_sp<skottie::Animation> { in EMSCRIPTEN_BINDINGS()
377 return skottie::Animation::Make(json.c_str(), json.length()); in EMSCRIPTEN_BINDINGS()