gtk2/testsuite/gsk/compare/clip-in-rounded-clip3.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

41 lines
508 B
Plaintext

/* Force offscreen drawing by creating a clip that
cannot be expressed using a single rounded rect */
rounded-clip {
clip: 0 0 100 100 / 0 50 50 50;
child: clip {
clip: 0 0 80 50;
child: color {
bounds: 0 0 300 500;
color: teal;
}
}
}
color {
bounds: 75 6 5 5;
color: black;
}
color {
bounds: 70 4 5 5;
color: black;
}
color {
bounds: 65 2 5 5;
color: black;
}
color {
bounds: 55 0 10 5;
color: black;
}
color {
bounds: 40 0 15 2;
color: black;
}