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

Function GetTextSelectorType

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

Source from the content-addressed store, hash-verified

106}
107
108static TextSelectorType GetTextSelectorType(const AEGP_StreamRefH& streamHandle) {
109 std::string matchName = GetStreamMatchName(streamHandle);
110 auto result = TextSelectorTypeMap.find(matchName);
111 if (result == TextSelectorTypeMap.end()) {
112 return TextSelectorType::Unknown;
113 }
114 return result->second;
115}
116
117static TextAnimatorPropertiesType GetTextAnimatorPropertiesType(
118 const AEGP_StreamRefH& streamHandle) {

Callers 1

GetTextSelectorsFunction · 0.85

Calls 2

GetStreamMatchNameFunction · 0.85
findMethod · 0.80

Tested by

no test coverage detected