mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
08e9725797
These are tests that are working on both GL and Cairo now. Some tests got black boxes over the areas that aren't easy to compare.
37 lines
533 B
Plaintext
37 lines
533 B
Plaintext
color {
|
|
bounds: 40 40 70 70;
|
|
color: transparent;
|
|
}
|
|
|
|
clip {
|
|
clip: 50 50 50 50;
|
|
child: opacity {
|
|
opacity: 0.4;
|
|
child: rounded-clip {
|
|
clip: 50 50 100 100 / 50;
|
|
child: color {
|
|
bounds: 50 50 100 100;
|
|
color: red;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
debug {
|
|
message: "clipped out area";
|
|
child: container {
|
|
color {
|
|
bounds: 50 70 10 30;
|
|
color: black;
|
|
}
|
|
color {
|
|
bounds: 55 55 20 20;
|
|
color: black;
|
|
}
|
|
color {
|
|
bounds: 70 50 30 10;
|
|
color: black;
|
|
}
|
|
}
|
|
}
|