| 73 | } |
| 74 | |
| 75 | static pag::LayerStyle* GetDropShadowStyle(const AEGP_StreamRefH& streamHandle) { |
| 76 | auto style = new pag::DropShadowStyle(); |
| 77 | |
| 78 | style->blendMode = |
| 79 | GetProperty(streamHandle, "dropShadow/mode2", AEStreamParser::StyleBlendModeParser); |
| 80 | style->color = GetProperty(streamHandle, "dropShadow/color", AEStreamParser::ColorParser); |
| 81 | style->opacity = |
| 82 | GetProperty(streamHandle, "dropShadow/opacity", AEStreamParser::Opacity0_100Parser); |
| 83 | style->angle = |
| 84 | GetProperty(streamHandle, "dropShadow/localLightingAngle", AEStreamParser::FloatParser); |
| 85 | style->distance = GetProperty(streamHandle, "dropShadow/distance", AEStreamParser::FloatParser); |
| 86 | style->size = GetProperty(streamHandle, "dropShadow/blur", AEStreamParser::FloatParser); |
| 87 | style->spread = GetProperty(streamHandle, "dropShadow/chokeMatte", AEStreamParser::PercentParser); |
| 88 | return style; |
| 89 | } |
| 90 | |
| 91 | static pag::LayerStyle* GetGradientOverlayStyle(const AEGP_StreamRefH& streamHandle) { |
| 92 | auto style = new pag::GradientOverlayStyle(); |
no test coverage detected