shadow-clip.yaml (625B)
1 # Test that the clip-chain local rect is not applied 2 # to the text run being drawn in the shadow. If it was 3 # applied, the edges of the quad will be a slightly 4 # different color, since the blur will include some 5 # clipped out pixels. 6 --- 7 root: 8 items: 9 - type: clip 10 id: 2 11 bounds: [28, 28, 80, 80] 12 - 13 type: "shadow" 14 bounds: [0, 0, 200, 200] 15 blur-radius: 2 16 color: [255, 0, 0, 0.5] 17 clip-chain: [2] 18 - 19 bounds: [6, 6, 132, 133] 20 glyphs: [67] 21 offsets: [8, 111] 22 size: 128 23 color: [0, 0, 0, 0] 24 font: "Ahem.ttf" 25 - 26 type: "pop-all-shadows"