summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/shadow-many.yaml
blob: b5daabe669bd36fb2f501eabe5ded76d7a647a31 (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
--- # the same as shadow.yaml, except there are many shadows with different offsets and colors
root:
  items:
        -
          type: "shadow"
          bounds: [14, 18, 205, 35]
          blur-radius: 5
          offset: [0, 0]
          color: black
        -
          type: "shadow"
          bounds: [14, 18, 205, 35]
          blur-radius: 0
          offset: [2, 3]
          color: red
        -
          type: "shadow"
          bounds: [14, 18, 205, 35]
          blur-radius: 3
          offset: [-2, 3.5]
          color: blue
        -
          bounds: [14, 18, 205, 35]
          glyphs: [55, 75, 76, 86, 3, 76, 86, 3, 87, 75, 72, 3, 69, 72, 86, 87]
          offsets: [16, 43, 35.533333, 43, 51.533333, 43, 60.4, 43, 72.833336, 43, 80.833336, 43, 89.7, 43, 102.13333, 43, 110.13333, 43, 119, 43, 135, 43, 149.2, 43, 157.2, 43, 173.2, 43, 187.4, 43, 196.26666, 43]
          size: 18
          color: [0, 0, 0, 0] # actual text is transparent
          font: "VeraBd.ttf"
        -
          type: "pop-all-shadows"