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

Function GetTextPropertyType

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

Source from the content-addressed store, hash-verified

79 {"ADBE Text Stroke Color", TextAnimatorPropertiesType::StrokeColor}};
80
81static TextPropertyType GetTextPropertyType(const AEGP_StreamRefH& streamHandle) {
82 std::string matchName = GetStreamMatchName(streamHandle);
83 auto result = TextPropertyTypeMap.find(matchName);
84 if (result == TextPropertyTypeMap.end()) {
85 return TextPropertyType::Unknown;
86 }
87 return result->second;
88}
89
90static TextAnimatorsType GetTextAnimatorsType(const AEGP_StreamRefH& streamHandle) {
91 std::string matchName = GetStreamMatchName(streamHandle);

Callers 1

GetTextPropertiesFunction · 0.85

Calls 2

GetStreamMatchNameFunction · 0.85
findMethod · 0.80

Tested by

no test coverage detected