MCPcopy Create free account
hub / github.com/Samsung/rlottie / animator

Function animator

example/lottieview.cpp:39–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static Eina_Bool
40animator(void *data , double pos)
41{
42 LottieView *view = static_cast<LottieView *>(data);
43
44 view->seek(pos);
45 if (pos == 1.0) {
46 view->mAnimator = NULL;
47 view->finished();
48 return EINA_FALSE;
49 }
50 return EINA_TRUE;
51}
52
53LottieView::LottieView(Evas *evas, Strategy s) {
54 mPalying = false;

Callers

nothing calls this directly

Calls 2

seekMethod · 0.80
finishedMethod · 0.80

Tested by

no test coverage detected