Flutter Engine
The Flutter Engine
|
#include <Skottie.h>
Classes | |
struct | Stats |
Public Types | |
enum | Flags : uint32_t { kDeferImageLoading = 0x01 , kPreferEmbeddedFonts = 0x02 } |
Public Member Functions | |
Builder (uint32_t flags=0) | |
Builder (const Builder &) | |
Builder (Builder &&) | |
~Builder () | |
const Stats & | getStats () const |
Builder & | setResourceProvider (sk_sp< ResourceProvider >) |
Builder & | setFontManager (sk_sp< SkFontMgr >) |
Builder & | setPropertyObserver (sk_sp< PropertyObserver >) |
Builder & | setLogger (sk_sp< Logger >) |
Builder & | setMarkerObserver (sk_sp< MarkerObserver >) |
Builder & | setPrecompInterceptor (sk_sp< PrecompInterceptor >) |
Builder & | setExpressionManager (sk_sp< ExpressionManager >) |
Builder & | setTextShapingFactory (sk_sp< SkShapers::Factory >) |
sk_sp< Animation > | make (SkStream *) |
sk_sp< Animation > | make (const char *data, size_t length) |
sk_sp< Animation > | makeFromFile (const char path[]) |
const sk_sp< SlotManager > & | getSlotManager () const |
enum skottie::Animation::Builder::Flags : uint32_t |
|
explicit |
Definition at line 304 of file Skottie.cpp.
|
default |
|
default |
|
default |
|
inline |
Get handle for SlotManager after animation is built.
Definition at line 182 of file Skottie.h.
|
inline |
Definition at line 369 of file Skottie.cpp.
Animation factories.
Definition at line 349 of file Skottie.cpp.
Definition at line 459 of file Skottie.cpp.
Animation::Builder & skottie::Animation::Builder::setExpressionManager | ( | sk_sp< ExpressionManager > | em | ) |
Registers an ExpressionManager to evaluate AE expressions. If unspecified, expressions in the animation JSON will be ignored.
Definition at line 339 of file Skottie.cpp.
Animation::Builder & skottie::Animation::Builder::setFontManager | ( | sk_sp< SkFontMgr > | fmgr | ) |
Specify a font manager for loading animation fonts.
Definition at line 314 of file Skottie.cpp.
Animation::Builder & skottie::Animation::Builder::setLogger | ( | sk_sp< Logger > | logger | ) |
Register a Logger with this builder.
Definition at line 324 of file Skottie.cpp.
Animation::Builder & skottie::Animation::Builder::setMarkerObserver | ( | sk_sp< MarkerObserver > | mobserver | ) |
Register a MarkerObserver with this builder.
Definition at line 329 of file Skottie.cpp.
Animation::Builder & skottie::Animation::Builder::setPrecompInterceptor | ( | sk_sp< PrecompInterceptor > | pi | ) |
Register a precomp layer interceptor. This allows substituting precomp layers with custom/externally managed content.
Definition at line 334 of file Skottie.cpp.
Animation::Builder & skottie::Animation::Builder::setPropertyObserver | ( | sk_sp< PropertyObserver > | pobserver | ) |
Specify a PropertyObserver to receive callbacks during parsing.
See SkottieProperty.h for more details.
Definition at line 319 of file Skottie.cpp.
Animation::Builder & skottie::Animation::Builder::setResourceProvider | ( | sk_sp< ResourceProvider > | rp | ) |
Specify a loader for external resources (images, etc.).
Definition at line 309 of file Skottie.cpp.
Animation::Builder & skottie::Animation::Builder::setTextShapingFactory | ( | sk_sp< SkShapers::Factory > | factory | ) |
Registers a factory to be used when shaping text. If unspecified, text will be shaped with primitive shaping. See //modules/skshaper/utils/FactoryHelpers.h
Definition at line 344 of file Skottie.cpp.