Lines Matching refs:skottie
47 class SkottieAssetProvider : public skottie::ResourceProvider {
62 sk_sp<skottie::ImageAsset> loadImageAsset(const char[] /* path */, in loadImageAsset()
125 class JSLogger final : public skottie::Logger {
152 sk_sp<skottie::ResourceProvider> rp, in Make()
161 auto animation = skottie::Animation::Builder() in Make()
272 ManagedAnimation(sk_sp<skottie::Animation> animation, in ManagedAnimation()
278 const sk_sp<skottie::Animation> fAnimation;
287 class_<skottie::Animation>("Animation") in EMSCRIPTEN_BINDINGS()
288 .smart_ptr<sk_sp<skottie::Animation>>("sk_sp<Animation>") in EMSCRIPTEN_BINDINGS()
289 .function("version", optional_override([](skottie::Animation& self)->std::string { in EMSCRIPTEN_BINDINGS()
292 .function("_size", optional_override([](skottie::Animation& self, in EMSCRIPTEN_BINDINGS()
297 .function("duration", &skottie::Animation::duration) in EMSCRIPTEN_BINDINGS()
298 .function("fps" , &skottie::Animation::fps) in EMSCRIPTEN_BINDINGS()
299 .function("seek", optional_override([](skottie::Animation& self, SkScalar t)->void { in EMSCRIPTEN_BINDINGS()
302 .function("seekFrame", optional_override([](skottie::Animation& self, double t)->void { in EMSCRIPTEN_BINDINGS()
305 .function("_render", optional_override([](skottie::Animation& self, SkCanvas* canvas, in EMSCRIPTEN_BINDINGS()
311 function("MakeAnimation", optional_override([](std::string json)->sk_sp<skottie::Animation> { in EMSCRIPTEN_BINDINGS()
312 return skottie::Animation::Make(json.c_str(), json.length()); in EMSCRIPTEN_BINDINGS()