Source code

Revision control

Copy as Markdown

Other Tools

# Ensures that blur clamping happens after scale factors are applied
---
root:
items:
- type: stacking-context
bounds: [100, 100, 300, 300]
filters: drop-shadow([0, 0], 100, blue)
items:
- type: rect
bounds: [0, 0, 100, 100]
color: 0 255 0 1.0
- type: stacking-context
bounds: [400, 100, 300, 300]
filters: drop-shadow([0, 0], 50, green)
items:
- type: rect
bounds: [0, 0, 100, 100]
color: 255 0 0 1.0