Debian Codegraph @

testsuite/gsk/compare/clip-coordinates-2d.node

raw
1 /* This test checks that we get sharp clip boundaries
2 * for 2d transforms. Compare with clip-coordinates-3d.node,
3 * which uses a general transform and gets offscreen
4 * rendering with GL_LINEAR.
5 */
6 transform {
7 transform: scale(2);
8 child: container {
9 color {
10 bounds: 0 0 50 50;
11 color: transparent;
12 }
13
14 clip {
15 clip: 10 10 30 30;
16 child: color {
17 bounds: 0 0 50 50;
18 color: red;
19 }
20 }
21 }
22 }