Flutter Engine
The Flutter Engine
|
#include <SkottieUtils.h>
Public Member Functions | |
ExternalAnimationPrecompInterceptor (sk_sp< skresources::ResourceProvider >, const char prefix[]) | |
~ExternalAnimationPrecompInterceptor () override | |
virtual sk_sp< ExternalLayer > | onLoadPrecomp (const char id[], const char name[], const SkSize &size)=0 |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
A sample PrecompInterceptor implementation.
Attempts to substitute all precomp layers matching the given pattern (name prefix) with external Lottie animations.
Definition at line 137 of file SkottieUtils.h.
skottie_utils::ExternalAnimationPrecompInterceptor::ExternalAnimationPrecompInterceptor | ( | sk_sp< skresources::ResourceProvider > | rprovider, |
const char | prefix[] | ||
) |
Definition at line 271 of file SkottieUtils.cpp.
|
overridedefault |