[cairo-bugs] [Bug 29124] cairo_clip_extents returns surface extents instead of empty rectangle when clip is empty

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 17 03:33:25 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29124

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> 2010-07-17 03:33:24 PDT ---
commit b79ea8a6cab8bd28aebecf6e1e8229d5ac017264
Author: Karl Tomlinson <karlt+ at 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 at chris-wilson.co.uk>

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list