perspective-clip.yaml (684B)
1 # Test that a local space clip is correctly applied to 2 # a primitive with a perspective transform. 3 --- 4 root: 5 items: 6 - type: clip 7 id: 2 8 complex: 9 - rect: [225, 200, 150, 200] 10 radius: 32 11 - 12 type: "stacking-context" 13 bounds: 0 0 1000 1000 14 perspective: 100 15 perspective-origin: 300 300 16 items: 17 - 18 type: "stacking-context" 19 transform: rotate-x(-10) 20 transform-origin: 300 300 21 filters: identity 22 items: 23 - 24 bounds: [200, 200, 200, 200] 25 image: checkerboard(2, 16, 12) 26 stretch-size: 200 200 27 clip-chain: [2]