If the gstate clip in _cairo_gstate_int_clip_extents() has all_clipped set (and path NULL), then it returns the gstate target extents instead of an empty rectangle. If the target is infinite, then it says the clip is unbounded. I'm guessing this worked better when surface_rect was used prior to http://cgit.freedesktop.org/cairo/commit/?id=bed2701e1c89095878d549cbca8f22d84f3dda3c
Created attachment 37143 [details] [review] consider all_clipped in _cairo_clip_get_extents
commit b79ea8a6cab8bd28aebecf6e1e8229d5ac017264 Author: Karl Tomlinson <karlt+@karlt.net> Date: Sat Jul 17 11:46:25 2010 +1200 clip: consider all_clipped in _cairo_clip_get_extents If the gstate clip in _cairo_gstate_int_clip_extents() has all_clipped set (and path NULL), then it returns the gstate target extents instead of an empty rectangle. If the target is infinite, then it says the clip is unbounded. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=29124 Tested-by test/get-clip Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.