mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
bdb3e345c8
Finally figured out a way to test that a texture-scale node using NEAREST that is upscaled using a transform node doesn't use NEAREST but LINEAR.
14 lines
372 B
Plaintext
14 lines
372 B
Plaintext
color-matrix {
|
|
matrix: matrix3d(1000, 0, 0, 0, 0, 1000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
|
|
child: transform {
|
|
transform: scale(4);
|
|
child: texture-scale {
|
|
bounds: 0 0 10 10;
|
|
filter: nearest;
|
|
texture: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAYAAAD0In+KAAAAEUlEQVQImWP4z8Dwn+E/w38AEPgD\
|
|
/V+dao0AAAAASUVORK5CYII=\
|
|
");
|
|
}
|
|
}
|
|
}
|