mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
853e8719c6
This was an experiment where an offscreen was translated inside an existing clip. Because renderers try to limit offscreens to the clip rect, this is interesting, because they might get the translation wrong.
18 lines
279 B
Plaintext
18 lines
279 B
Plaintext
color {
|
|
bounds: 0 0 50 50;
|
|
color: rgb(0,0,0);
|
|
}
|
|
clip {
|
|
clip: 10 10 30 30;
|
|
child: transform {
|
|
transform: translate(10, 10);
|
|
child: opacity {
|
|
opacity: 0.8;
|
|
child: color {
|
|
bounds: -50 -50 100 100;
|
|
color: rgb(255,0,0);
|
|
}
|
|
}
|
|
}
|
|
}
|