Lines Matching refs:ManagedAnimation
149 class ManagedAnimation final : public SkRefCnt { class
151 static sk_sp<ManagedAnimation> Make(const std::string& json, in Make()
170 ? sk_sp<ManagedAnimation>(new ManagedAnimation(std::move(animation), std::move(mgr))) in Make()
174 ~ManagedAnimation() override = default;
272 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation() function in __anonc29381d40111::ManagedAnimation
317 class_<ManagedAnimation>("ManagedAnimation") in EMSCRIPTEN_BINDINGS()
318 .smart_ptr<sk_sp<ManagedAnimation>>("sk_sp<ManagedAnimation>") in EMSCRIPTEN_BINDINGS()
319 .function("version" , &ManagedAnimation::version) in EMSCRIPTEN_BINDINGS()
320 .function("_size", optional_override([](ManagedAnimation& self, in EMSCRIPTEN_BINDINGS()
325 .function("duration" , &ManagedAnimation::duration) in EMSCRIPTEN_BINDINGS()
326 .function("fps" , &ManagedAnimation::fps) in EMSCRIPTEN_BINDINGS()
327 .function("_render", optional_override([](ManagedAnimation& self, SkCanvas* canvas, in EMSCRIPTEN_BINDINGS()
332 .function("_seek", optional_override([](ManagedAnimation& self, SkScalar t, in EMSCRIPTEN_BINDINGS()
337 .function("_seekFrame", optional_override([](ManagedAnimation& self, double frame, in EMSCRIPTEN_BINDINGS()
342 .function("seekFrame" , &ManagedAnimation::seekFrame) in EMSCRIPTEN_BINDINGS()
343 ….function("_setColor" , optional_override([](ManagedAnimation& self, const std::string& key, WASM… in EMSCRIPTEN_BINDINGS()
348 .function("setOpacity", &ManagedAnimation::setOpacity) in EMSCRIPTEN_BINDINGS()
349 .function("getMarkers", &ManagedAnimation::getMarkers) in EMSCRIPTEN_BINDINGS()
350 .function("getColorProps" , &ManagedAnimation::getColorProps) in EMSCRIPTEN_BINDINGS()
351 .function("getOpacityProps", &ManagedAnimation::getOpacityProps) in EMSCRIPTEN_BINDINGS()
352 .function("getTextProps" , &ManagedAnimation::getTextProps) in EMSCRIPTEN_BINDINGS()
353 .function("setText" , &ManagedAnimation::setText); in EMSCRIPTEN_BINDINGS()
363 ->sk_sp<ManagedAnimation> { in EMSCRIPTEN_BINDINGS()
377 return ManagedAnimation::Make(json, in EMSCRIPTEN_BINDINGS()