Definition at line 200 of file TextAdapter.cpp.
◆ getMatrix()
Definition at line 237 of file TextAdapter.cpp.
237 {
240
241 if (!fCurrentMeasure) {
243 }
244
245 const auto path_len = fCurrentMeasure->
length();
246
247
248 switch (alignment) {
253 }
254
255
256 if (fCurrentClosed) {
260 }
262 }
263
268 }
269
270
271
272
273
276 pos += tan*(underflow + overflow);
277
279
280
281
284 }
285
287 }
bool getPosTan(SkScalar distance, SkPoint *position, SkVector *tangent) const
static SkM44 Rotate(SkV3 axis, SkScalar radians)
static SkM44 Translate(SkScalar x, SkScalar y, SkScalar z=0)
static float max(float r, float g, float b)
static float min(float r, float g, float b)
constexpr float y() const
constexpr float x() const
ScalarValue fPathPerpendicular
◆ pathLength()
float skottie::internal::TextAdapter::PathInfo::pathLength |
( |
| ) |
const |
|
inline |
Definition at line 230 of file TextAdapter.cpp.
230 {
233
234 return fCurrentMeasure ? fCurrentMeasure->
length() : 0;
235 }
◆ updateContourData()
void skottie::internal::TextAdapter::PathInfo::updateContourData |
( |
| ) |
|
|
inline |
Definition at line 207 of file TextAdapter.cpp.
207 {
209
210 if (
fPath != fCurrentPath ||
reverse != fCurrentReversed) {
211
217 }
218
220 fCurrentMeasure = iter.next();
221 fCurrentClosed =
path.isLastContourClosed();
223 fCurrentPath =
fPath;
224
225
227 }
228 }
SkPath & reverseAddPath(const SkPath &src)
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
◆ fPath
ShapeValue skottie::internal::TextAdapter::PathInfo::fPath |
◆ fPathFMargin
ScalarValue skottie::internal::TextAdapter::PathInfo::fPathFMargin = 0 |
◆ fPathLMargin
ScalarValue skottie::internal::TextAdapter::PathInfo::fPathLMargin = 0 |
◆ fPathPerpendicular
ScalarValue skottie::internal::TextAdapter::PathInfo::fPathPerpendicular = 0 |
◆ fPathReverse
ScalarValue skottie::internal::TextAdapter::PathInfo::fPathReverse = 0 |
The documentation for this struct was generated from the following file: