gtk/testsuite/gsk/compare/clip-in-rounded-clip2.node
Timm Bäder d5bf3c2cd1 gl renderer: Improve clipping code
don't render a clip to a texture if the new clip does not intersect with
any of the corners of the currently rounded clip.

Fixes #2770
2020-05-24 15:59:05 +02:00

37 lines
412 B
Plaintext

rounded-clip {
clip: 0 0 200 100 / 0 0 40 0;
child: clip {
clip: 40 0 200 300;
child: color {
bounds: 0 0 300 500;
color: teal;
}
}
}
color {
bounds: 160 95 20 5;
color: black;
}
color {
bounds: 178 90 9 5;
color: black;
}
color {
bounds: 183 85 9 5;
color: black;
}
color {
bounds: 188 76 9 9;
color: black;
}
color {
bounds: 195 50 5 30;
color: black;
}