#include <TextAnimator.h>
Definition at line 29 of file TextAnimator.h.
◆ DomainMap
◆ ModulatorBuffer
◆ hasBlur()
bool skottie::internal::TextAnimator::hasBlur |
( |
| ) |
const |
|
inline |
◆ Make()
Definition at line 67 of file TextAnimator.cpp.
69 {
70 if (!janimator) {
71 return nullptr;
72 }
73
75 if (!jprops) {
76 return nullptr;
77 }
78
79 std::vector<sk_sp<RangeSelector>> selectors;
80
81
82
84 selectors.reserve(jselectors->size());
87 selectors.push_back(std::move(sel));
88 }
89 }
90 } else {
92 selectors.reserve(1);
93 selectors.push_back(std::move(sel));
94 }
95 }
96
98 new TextAnimator(std::move(selectors), *jprops, abuilder, acontainer));
99}
static sk_sp< RangeSelector > Make(const skjson::ObjectValue *, const AnimationBuilder *, AnimatablePropertyContainer *)
◆ modulateProps()
Definition at line 101 of file TextAnimator.cpp.
101 {
102
103 const auto initial_coverage = fSelectors.empty() ? 1.f : 0.f;
104
105
106 for (auto& mod : buf) {
107 mod.coverage = initial_coverage;
108 }
109
110
111 for (const auto& selector : fSelectors) {
112 selector->modulateCoverage(maps, buf);
113 }
114
115
116 for (auto& mod : buf) {
118 }
119}
void modulateProps(const DomainMaps &, ModulatorBuffer &) const
◆ requiresAnchorPoint()
bool skottie::internal::TextAnimator::requiresAnchorPoint |
( |
| ) |
const |
|
inline |
Definition at line 94 of file TextAnimator.h.
94{ return fRequiresAnchorPoint; }
◆ requiresLineAdjustments()
bool skottie::internal::TextAnimator::requiresLineAdjustments |
( |
| ) |
const |
|
inline |
Definition at line 95 of file TextAnimator.h.
95{ return fRequiresLineAdjustments; }
The documentation for this class was generated from the following files: