Learning_GTK4_tree/testsuite/gsk/compare/texture-url.node

12 lines
303 B
Plaintext
Raw Permalink Normal View History

2023-12-12 11:36:42 +01:00
/* Add a color node to blow up the bounds so that
we can test the texture bounds work. */
color {
bounds: 0 0 50 50;
color: white;
}
texture {
bounds: 10 10 30 30;
texture: url('data:,<svg width="10" height="10" viewBox="0 0 10 10"><rect width="10" height="10" style="fill:red"/></svg>');
}