summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/shadow-partial-glyph-ref.yaml
blob: e49ec68e97b2061be18915d08a341a46cd2f08b2 (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
--- # taking the shadow of multiple copies of a glyph with different clips should look the same as the unclipped glyph
root:
  items:
        -
          type: "shadow"
          blur-radius: 2
          bounds: [14, 18, 205, 35]
          offset: [40, 0]
          color: black
        -
          bounds: [14, 18, 205, 35]
          glyphs: [58]
          offsets: [16, 43]
          size: 18
          color: [0, 0, 0, 0]
          font: "VeraBd.ttf"
        -
          type: "pop-all-shadows"
        -
          bounds: [14, 18, 205, 35]
          clip-rect: [16, 18, 14, 14]
          glyphs: [58]
          offsets: [16, 43]
          size: 18
          color: [255, 0, 0, 1]
          font: "VeraBd.ttf"
        -
          bounds: [14, 18, 205, 35]
          clip-rect: [30, 18, 14, 14]
          glyphs: [58]
          offsets: [16, 43]
          size: 18
          color: [0, 255, 0, 1]
          font: "VeraBd.ttf"
        -
          bounds: [14, 18, 205, 35]
          clip-rect: [16, 32, 14, 14]
          glyphs: [58]
          offsets: [16, 43]
          size: 18
          color: [0, 0, 255, 1]
          font: "VeraBd.ttf"
        -
          bounds: [14, 18, 205, 35]
          clip-rect: [30, 32, 14, 14]
          glyphs: [58]
          offsets: [16, 43]
          size: 18
          color: [255, 0, 255, 1]
          font: "VeraBd.ttf"