mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
b9ed957af3
If the inner clip intersects with the corners of the outer clip, we potentially need a texture. We should add more fine-grained checks for this in the future though. Test case included.
36 lines
470 B
Plaintext
36 lines
470 B
Plaintext
transform {
|
|
child: rounded-clip {
|
|
child: rounded-clip {
|
|
clip: 10 10 30 30 / 5;
|
|
child: color {
|
|
color: teal;
|
|
bounds: 12 12 26 26;
|
|
}
|
|
}
|
|
clip: 10 10 30 30 / 25 0 0 0;
|
|
}
|
|
|
|
transform: scale(5);
|
|
}
|
|
|
|
color {
|
|
color: black;
|
|
bounds: 55 100 40 40;
|
|
}
|
|
|
|
color {
|
|
color: black;
|
|
bounds: 70 80 20 20;
|
|
}
|
|
|
|
color {
|
|
color: black;
|
|
bounds: 90 70 40 40;
|
|
}
|
|
|
|
color {
|
|
color: black;
|
|
bounds: 105 55 30 20;
|
|
}
|
|
|