Use cairo_copy_clip_rectangle_list() to recreate the clip region
Thanks to Behdad for the hint, and for pointing out a bug in my first attempt.
Please register or sign in to comment
Thanks to Behdad for the hint, and for pointing out a bug in my first attempt.