summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/gradient/gradient_cache_hardstop_clip_ref.yaml
blob: ac13881be8efaf821b8f0a6ab20809ddcab5fec3 (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
---
root:
  items:
    - type: clip
      id: 101
      complex:
        - rect: [100, 100, 760, 340]
          radius: [32, 32]
    - type: clip-chain
      id: 201
      clips: [101]
    - type: gradient
      bounds: 0 0 480 540
      start: 0 0
      end: 480 0
      stops: [0.0, red,
              0.25, yellow,
              0.5, red,
              0.5, green,
              0.75, yellow,
              1.0, green]
      clip-chain: 201

    - type: clip
      id: 102
      complex:
        - rect: [100, 100, 760, 340]
          radius: [32, 32]
    - type: clip-chain
      id: 202
      clips: [102]
    - type: gradient
      bounds: 480 0 480 540
      start: 0 0
      end: 480 0
      stops: [0.0, blue,
              0.25, yellow,
              0.5, blue,
              0.5, white,
              1.0, [100,200,50,1]]
      clip-chain: 202