summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/text-masking.yaml
blob: 5e3e4642c6a1c2d745490ca8c7411bc04df9a20f (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
---
root:
  items:
    - bounds: [0, 0, 750, 100]
      "clip-rect": [0, 0, 750, 100]
      type: rect
      color: [180, 180, 180]
    - type: clip
      "clip-rect": [0, 0, 750, 100]
      id: 2
      "content-size": [750, 100]
      "image-mask":
        image: "text-masking-mask.png"
        rect: [0, 0, 750, 100]
        repeat: false
    - text: "Cats making all the muffins knock over christmas tree"
      origin: 40 40
      size: 20
      clip-chain: [2]
      font: "FreeSans.ttf"
    - text: "Cats making all the muffins knock over christmas tree"
      origin: 40 80
      size: 20
      color: white
      clip-chain: [2]
      font: "FreeSans.ttf"