summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/clip/clip-mode.yaml
blob: d20e53668f1d0f90f9c0d0202932ff7910f9e84b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
root:
  items:
    - type: clip
      id: 2
      complex:
        - rect: [20, 20, 100, 100]
          radius: 32
    - type: clip-chain
      id: 12
      clips: [2]
    - type: rect
      bounds: [20, 20, 100, 100]
      color: red
      clip-chain: 12

    - type: clip
      id: 3
      complex:
        - rect: [130, 20, 100, 100]
          radius: 32
          clip-mode: clip-out
    - type: clip-chain
      id: 13
      clips: [3]
    - type: rect
      bounds: [130, 20, 100, 100]
      color: green
      clip-chain: 13