Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
Expression.cpp File Reference
#include <iostream>
#include "include/core/SkFontMgr.h"
#include "include/core/SkStream.h"
#include "modules/skottie/include/Skottie.h"
#include "modules/skottie/include/SkottieProperty.h"
#include "tests/Test.h"
#include "tools/fonts/FontToolUtils.h"

Go to the source code of this file.

Functions

 DEF_TEST (Skottie_Expression, r)
 
 DEF_TEST (Skottie_ExpressionText, r)
 

Function Documentation

◆ DEF_TEST() [1/2]

DEF_TEST ( Skottie_Expression  ,
 
)

Definition at line 82 of file Expression.cpp.

82 {
83 static constexpr char json[] =
84 R"({
85 "v": "5.2.1",
86 "w": 100,
87 "h": 100,
88 "fr": 10,
89 "ip": 0,
90 "op": 100,
91 "layers": [
92 {
93 "ip": 0,
94 "op": 100,
95 "ty": 1,
96 "nm": "My Layer",
97 "sr": 1,
98 "ks": {
99 "o": {
100 "a": 0,
101 "k": 100,
102 "ix": 11,
103 "x": "fake; return value is specified by the FakeScalarExpressionEvaluator."
104 },
105 "r": {
106 "a": 0,

◆ DEF_TEST() [2/2]

DEF_TEST ( Skottie_ExpressionText  ,
 
)

Definition at line 108 of file Expression.cpp.

108 : 10
109 },
110 "p": {
111 "a": 0,
112 "k": [
113 50,
114 50,
115 0
116 ],
117 "ix": 2,
118 "l": 2
119 },
120 "a": {
121 "a": 0,
122 "k": [
123 50,
124 50,
125 0
126 ],
127 "ix": 1,
128 "l": 2,