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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 16 16:45:55 PDT 2010


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

           Summary: cairo_clip_extents returns surface extents instead of
                    empty rectangle when clip is empty
           Product: cairo
           Version: 1.9.13
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: bugs.freedesktop at karlt.net
         QAContact: cairo-bugs at cairographics.org


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

-- 
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