summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/text/text-masking.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/wr/wrench/reftests/text/text-masking.yaml')
-rw-r--r--gfx/wr/wrench/reftests/text/text-masking.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/gfx/wr/wrench/reftests/text/text-masking.yaml b/gfx/wr/wrench/reftests/text/text-masking.yaml
new file mode 100644
index 0000000000..5e3e4642c6
--- /dev/null
+++ b/gfx/wr/wrench/reftests/text/text-masking.yaml
@@ -0,0 +1,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"