| 78 | } |
| 79 | |
| 80 | DropShadowStyle::DropShadowStyle(float offsetX, float offsetY, float blurrinessX, float blurrinessY, |
| 81 | const Color& color, bool showBehindLayer) |
| 82 | : _offsetX(offsetX), _offsetY(offsetY), _blurrinessX(blurrinessX), _blurrinessY(blurrinessY), |
| 83 | _color(color), _showBehindLayer(showBehindLayer) { |
| 84 | } |
| 85 | |
| 86 | Rect DropShadowStyle::filterBounds(const Rect& srcRect, float contentScale) { |
| 87 | auto filter = getShadowFilter(contentScale); |
nothing calls this directly
no outgoing calls
no test coverage detected