gradient-ref.yaml (1340B)
1 # Checks the UV interpolation of a preserved 3d stacking context matches 2 # a flat stacking context. There are four black rectangles that overlap 3 # the edges of the transformed gradient to minimize fuzz. 4 --- 5 root: 6 items: 7 - type: "reference-frame" 8 bounds: [0, 0, 2746, 1408] 9 transform-style: flat 10 perspective: [1, 0, 0, 0, 0, 1, 0, 0, -0.4699999988079071, -0.44999998807907104, 1, -0.0012499999720603228, 176, 160, 0, 1] 11 items: 12 - type: "reference-frame" 13 bounds: [0, 0, 2746, 1408] 14 transform-style: flat 15 transform: rotate-y(-53) 16 items: 17 - type: "stacking-context" 18 transform-style: flat 19 items: 20 - type: rect 21 bounds: [0, 0, 300, 300] 22 color: 255 255 255 1.0000 23 - type: gradient 24 bounds: [0, 0, 300, 150] 25 start: [150, 0] 26 end: [150, 150] 27 stops: [0.0, [255, 0, 0, 1], 1.0, [254, 0, 0, 1]] 28 - type: rect 29 bounds: [520, 260, 120, 20] 30 color: 0 0 0 1.0000 31 - type: rect 32 bounds: [520, 336, 120, 3] 33 color: 0 0 0 1.0000 34 - type: rect 35 bounds: [520, 260, 10, 80] 36 color: 0 0 0 1.0000 37 - type: rect 38 bounds: [622, 260, 10, 80] 39 color: 0 0 0 1.0000