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

Function GetCornerPinEffect

exporter/src/export/data/Effect.cpp:202–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202static pag::Effect* GetCornerPinEffect(const AEGP_StreamRefH& streamHandle) {
203 auto effect = new pag::CornerPinEffect();
204
205 effect->upperLeft =
206 GetProperty(streamHandle, "ADBE Corner Pin-0001", AEStreamParser::PointParser);
207 effect->upperRight =
208 GetProperty(streamHandle, "ADBE Corner Pin-0002", AEStreamParser::PointParser);
209 effect->lowerLeft =
210 GetProperty(streamHandle, "ADBE Corner Pin-0003", AEStreamParser::PointParser);
211 effect->lowerRight =
212 GetProperty(streamHandle, "ADBE Corner Pin-0004", AEStreamParser::PointParser);
213 return effect;
214}
215
216static pag::Effect* GetLevelsIndividualEffect(const AEGP_StreamRefH& streamHandle) {
217 auto effect = new pag::LevelsIndividualEffect();

Callers 1

GetEffectByTypeFunction · 0.85

Calls 1

GetPropertyFunction · 0.85

Tested by

no test coverage detected