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