| 186 | } |
| 187 | |
| 188 | static pag::Effect* GetBulgeEffect(const AEGP_StreamRefH& streamHandle) { |
| 189 | auto effect = new pag::BulgeEffect(); |
| 190 | |
| 191 | effect->horizontalRadius = |
| 192 | GetProperty(streamHandle, "ADBE Bulge-0001", AEStreamParser::FloatParser); |
| 193 | effect->verticalRadius = |
| 194 | GetProperty(streamHandle, "ADBE Bulge-0002", AEStreamParser::FloatParser); |
| 195 | effect->bulgeCenter = GetProperty(streamHandle, "ADBE Bulge-0003", AEStreamParser::PointParser); |
| 196 | effect->bulgeHeight = GetProperty(streamHandle, "ADBE Bulge-0004", AEStreamParser::FloatParser); |
| 197 | effect->taperRadius = GetProperty(streamHandle, "ADBE Bulge-0005", AEStreamParser::FloatParser); |
| 198 | effect->pinning = GetProperty(streamHandle, "ADBE Bulge-0007", AEStreamParser::BooleanParser); |
| 199 | return effect; |
| 200 | } |
| 201 | |
| 202 | static pag::Effect* GetCornerPinEffect(const AEGP_StreamRefH& streamHandle) { |
| 203 | auto effect = new pag::CornerPinEffect(); |
no test coverage detected