Lines Matching refs:Animation
33 auto animation = skottie::Animation::Builder() in Make()
99 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation()
104 sk_sp<skottie::Animation> fAnimation;
113 class_<skottie::Animation>("Animation") in EMSCRIPTEN_BINDINGS()
114 .smart_ptr<sk_sp<skottie::Animation>>("sk_sp<Animation>") in EMSCRIPTEN_BINDINGS()
115 .function("version", optional_override([](skottie::Animation& self)->std::string { in EMSCRIPTEN_BINDINGS()
118 .function("size", &skottie::Animation::size) in EMSCRIPTEN_BINDINGS()
119 .function("duration", &skottie::Animation::duration) in EMSCRIPTEN_BINDINGS()
120 .function("seek", &skottie::Animation::seek) in EMSCRIPTEN_BINDINGS()
121 .function("render", optional_override([](skottie::Animation& self, SkCanvas* canvas)->void { in EMSCRIPTEN_BINDINGS()
124 .function("render", optional_override([](skottie::Animation& self, SkCanvas* canvas, in EMSCRIPTEN_BINDINGS()
129 function("MakeAnimation", optional_override([](std::string json)->sk_sp<skottie::Animation> { in EMSCRIPTEN_BINDINGS()
130 return skottie::Animation::Make(json.c_str(), json.length()); in EMSCRIPTEN_BINDINGS()