mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 22:30:22 +00:00
1afc7a9210
This tests that the result is suitably clipped for doing linear blending - the rightmost green pixel that is technically offscreen is blending into the red pixel and turning the test yellow. Cairo gets this wrong for some reason I didn't investigate.
17 lines
428 B
Plaintext
17 lines
428 B
Plaintext
clip {
|
|
clip: 35 1 2 2;
|
|
child: color-matrix {
|
|
matrix: matrix3d(1000, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
|
|
child: transform {
|
|
transform: scale(8);
|
|
child: texture-scale {
|
|
bounds: 0 0 10 10;
|
|
filter: nearest;
|
|
texture: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAYAAAD0In+KAAAAEUlEQVQImWP4z8Dwn+E/w38AEPgD\
|
|
/V+dao0AAAAASUVORK5CYII=\
|
|
");
|
|
}
|
|
}
|
|
}
|
|
}
|