26 lines
672 B
YAML
26 lines
672 B
YAML
# Test that opaque/alpha segments are correctly calculated
|
|
# when the clip is in a different (but compatible) coordinate
|
|
# space from the primitive.
|
|
---
|
|
root:
|
|
items:
|
|
-
|
|
type: "stacking-context"
|
|
items:
|
|
-
|
|
type: clip
|
|
id: 4
|
|
complex:
|
|
-
|
|
rect: [12, 12, 130, 130]
|
|
radius: 20
|
|
"clip-mode": clip
|
|
-
|
|
type: "stacking-context"
|
|
transform: [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 12, 12, 0, 1]
|
|
items:
|
|
-
|
|
bounds: [0, 0, 130, 130]
|
|
type: rect
|
|
color: 0 128 0 1.0000
|
|
clip-chain: [4]
|