1 #ifndef _LOTTIE_COMMON_H_
2 #define _LOTTIE_COMMON_H_
7 #define LOT_EXPORT __declspec(dllexport)
12 #define LOT_EXPORT __declspec(dllimport)
17 #define LOT_EXPORT __attribute__((visibility("default")))
28 * @brief Enumeration for Lottie Player error code.
32 //TODO: Coding convention??
33 LOT_PLAYER_ERROR_NONE = 0,
34 LOT_PLAYER_ERROR_NOT_PERMITTED,
35 LOT_PLAYER_ERROR_OUT_OF_MEMORY,
36 LOT_PLAYER_ERROR_INVALID_PARAMETER,
37 LOT_PLAYER_ERROR_RESULT_OUT_OF_RANGE,
38 LOT_PLAYER_ERROR_ALREADY_IN_PROGRESS,
39 LOT_PLAYER_ERROR_UNKNOWN
74 typedef struct LOTNode {
76 #define ChangeFlagNone 0x0000
77 #define ChangeFlagPath 0x0001
78 #define ChangeFlagPaint 0x0010
79 #define ChangeFlagAll (ChangeFlagPath & ChangeFlagPaint)
89 unsigned char r, g, b, a;
103 LOTGradientType type;
106 } start, end, center, focal;
113 LOTFillRule mFillRule;
117 #endif // _LOTTIE_COMMON_H_