MCPcopy Create free account
hub / github.com/Tencent/libpag / GetTextAnimatorsType

Function GetTextAnimatorsType

exporter/src/export/data/TextProperty.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static TextAnimatorsType GetTextAnimatorsType(const AEGP_StreamRefH& streamHandle) {
91 std::string matchName = GetStreamMatchName(streamHandle);
92 auto result = TextAnimatorsTypeMap.find(matchName);
93 if (result == TextAnimatorsTypeMap.end()) {
94 return TextAnimatorsType::Unknown;
95 }
96 return result->second;
97}
98
99static TextAnimatorType GetTextAnimatorType(const AEGP_StreamRefH& streamHandle) {
100 std::string matchName = GetStreamMatchName(streamHandle);

Callers 1

GetTextAnimatorsFunction · 0.85

Calls 2

GetStreamMatchNameFunction · 0.85
findMethod · 0.80

Tested by

no test coverage detected