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

Function GetTextAnimatorType

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

Source from the content-addressed store, hash-verified

97}
98
99static TextAnimatorType GetTextAnimatorType(const AEGP_StreamRefH& streamHandle) {
100 std::string matchName = GetStreamMatchName(streamHandle);
101 auto result = TextAnimatorTypeMap.find(matchName);
102 if (result == TextAnimatorTypeMap.end()) {
103 return TextAnimatorType::Unknown;
104 }
105 return result->second;
106}
107
108static TextSelectorType GetTextSelectorType(const AEGP_StreamRefH& streamHandle) {
109 std::string matchName = GetStreamMatchName(streamHandle);

Callers 1

GetTextAnimatorFunction · 0.85

Calls 2

GetStreamMatchNameFunction · 0.85
findMethod · 0.80

Tested by

no test coverage detected