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

Function GetLayerStyleName

exporter/src/export/data/LayerStyle.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65};
66
67std::string GetLayerStyleName(AELayerStyleType type) {
68 auto result = layerStyleNameMap.find(type);
69 if (result == layerStyleNameMap.end()) {
70 return "unknown";
71 }
72 return result->second;
73}
74
75static pag::LayerStyle* GetDropShadowStyle(const AEGP_StreamRefH& streamHandle) {
76 auto style = new pag::DropShadowStyle();

Callers 1

GetLayerStyleByTypeFunction · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected