#include <SkottieValue.h>
Definition at line 49 of file SkottieValue.h.
◆ operator SkPath()
skottie::ShapeValue::operator SkPath |
( |
| ) |
const |
Definition at line 128 of file ShapeKeyframeAnimator.cpp.
128 {
130
132
133 if (vertex_count) {
134
136
137
139 }
140
141 auto addCubic = [&](size_t from_vertex, size_t to_vertex) {
144
153
154 if (c0 == p0 && c1 == p1) {
155
156
157
159 } else {
160 path.cubicTo(c0, c1, p1);
161 }
162 };
163
164 for (
size_t i = 1;
i < vertex_count; ++
i) {
166 }
167
168
169 if (vertex_count && this->back() != 0) {
170 addCubic(vertex_count - 1, 0);
172 }
173
174 return path.detach();
175}
constexpr int SkToInt(S x)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
The documentation for this class was generated from the following files: