mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
23af1cd8ad
When transforming back from a complex transform to a simpler transform, the resulting clip might turn out to clip everything, because clips can grow while transforming, but the scissor rect won't. So when this process happens, we can end up with an empty clip by transforming: 1. Set a clip that also sets the scissor 2. transform in a way that grows the clip, say rotate(45) 3. modify the clip to shrink it 4. transform in a way that simplifies the transform, say another rotate(45) 5. Figure out that this clip and the scissor rect do no longer overlap Catch this case and avoid drawing anything. |
||
---|---|---|
.. | ||
a11y | ||
css | ||
gdk | ||
gsk | ||
gtk | ||
headless | ||
introspection | ||
reftests | ||
tools | ||
meson.build | ||
testutils.c | ||
testutils.h |