Lines Matching refs:Animation
86 auto animation = skottie::Animation::Builder() in Make()
155 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation()
160 sk_sp<skottie::Animation> fAnimation;
169 class_<skottie::Animation>("Animation") in EMSCRIPTEN_BINDINGS()
170 .smart_ptr<sk_sp<skottie::Animation>>("sk_sp<Animation>") in EMSCRIPTEN_BINDINGS()
171 .function("version", optional_override([](skottie::Animation& self)->std::string { in EMSCRIPTEN_BINDINGS()
174 .function("size", &skottie::Animation::size) in EMSCRIPTEN_BINDINGS()
175 .function("duration", &skottie::Animation::duration) in EMSCRIPTEN_BINDINGS()
176 .function("seek", &skottie::Animation::seek) in EMSCRIPTEN_BINDINGS()
177 .function("render", optional_override([](skottie::Animation& self, SkCanvas* canvas)->void { in EMSCRIPTEN_BINDINGS()
180 .function("render", optional_override([](skottie::Animation& self, SkCanvas* canvas, in EMSCRIPTEN_BINDINGS()
185 function("MakeAnimation", optional_override([](std::string json)->sk_sp<skottie::Animation> { in EMSCRIPTEN_BINDINGS()
186 return skottie::Animation::Make(json.c_str(), json.length()); in EMSCRIPTEN_BINDINGS()