summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/clip/clip-ellipse.yaml
blob: 846fefae89e84c7a326dc2dcd30d117a8e3ab663 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
---
root:
  items:
    - type: clip
      id: 100
      complex:
        - rect: [20, 20, 100, 100]
          radius: [32, 16]
    - type: clip-chain
      id: 200
      clips: [100]
    - type: rect
      bounds: [20, 20, 100, 100]
      color: red
      clip-chain: 200

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

    - type: clip
      id: 102
      complex:
        - rect: [20, 130, 100, 100]
          radius: [16, 32]
    - type: clip-chain
      id: 202
      clips: [102]
    - type: rect
      bounds: [20, 130, 100, 100]
      color: red
      clip-chain: 202

    - type: clip
      id: 103
      complex:
        - rect: [130, 130, 100, 100]
          radius: [16, 32]
          clip-mode: clip-out
    - type: clip-chain
      id: 203
      clips: [103]
    - type: rect
      bounds: [130, 130, 100, 100]
      color: green
      clip-chain: 203

    - type: clip
      id: 104
      complex:
        - rect: [20, 240, 100, 100]
          radius: [128, 32]
    - type: clip-chain
      id: 204
      clips: [104]
    - type: rect
      bounds: [20, 240, 100, 100]
      color: red
      clip-chain: 204

    - type: clip
      id: 105
      complex:
        - rect: [130, 240, 100, 100]
          radius: [128, 32]
          clip-mode: clip-out
    - type: clip-chain
      id: 205
      clips: [105]
    - type: rect
      bounds: [130, 240, 100, 100]
      color: green
      clip-chain: 205

    - type: clip
      id: 106
      complex:
        - rect: [20, 350, 100, 100]
          radius: [32, 128]
    - type: clip-chain
      id: 206
      clips: [106]
    - type: rect
      bounds: [20, 350, 100, 100]
      color: red
      clip-chain: 206

    - type: clip
      id: 107
      complex:
        - rect: [130, 350, 100, 100]
          radius: [32, 128]
          clip-mode: clip-out
    - type: clip-chain
      id: 207
      clips: [107]
    - type: rect
      bounds: [130, 350, 100, 100]
      color: green
      clip-chain: 207