Lines Matching refs:ManagedAnimation
84 class ManagedAnimation final : public SkRefCnt { class
86 static sk_sp<ManagedAnimation> Make(const std::string& json, sk_sp<SkottieAssetProvider> ap) { in Make()
95 ? sk_sp<ManagedAnimation>(new ManagedAnimation(std::move(animation), std::move(mgr))) in Make()
99 ~ManagedAnimation() override = default;
162 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation() function in __anon835477490111::ManagedAnimation
200 class_<ManagedAnimation>("ManagedAnimation") in EMSCRIPTEN_BINDINGS()
201 .smart_ptr<sk_sp<ManagedAnimation>>("sk_sp<ManagedAnimation>") in EMSCRIPTEN_BINDINGS()
202 .function("version" , &ManagedAnimation::version) in EMSCRIPTEN_BINDINGS()
203 .function("size" , &ManagedAnimation::size) in EMSCRIPTEN_BINDINGS()
204 .function("duration" , &ManagedAnimation::duration) in EMSCRIPTEN_BINDINGS()
205 .function("seek" , &ManagedAnimation::seek) in EMSCRIPTEN_BINDINGS()
206 ….function("render" , select_overload<void(SkCanvas*) const>(&ManagedAnimation::render), allow_r… in EMSCRIPTEN_BINDINGS()
208 (&ManagedAnimation::render), allow_raw_pointers()) in EMSCRIPTEN_BINDINGS()
209 .function("setColor" , &ManagedAnimation::setColor) in EMSCRIPTEN_BINDINGS()
210 .function("setOpacity", &ManagedAnimation::setOpacity) in EMSCRIPTEN_BINDINGS()
211 .function("getMarkers", &ManagedAnimation::getMarkers) in EMSCRIPTEN_BINDINGS()
212 .function("getColorProps" , &ManagedAnimation::getColorProps) in EMSCRIPTEN_BINDINGS()
213 .function("getOpacityProps", &ManagedAnimation::getOpacityProps); in EMSCRIPTEN_BINDINGS()
220 ->sk_sp<ManagedAnimation> { in EMSCRIPTEN_BINDINGS()
234 return ManagedAnimation::Make(json, SkottieAssetProvider::Make(std::move(assets))); in EMSCRIPTEN_BINDINGS()