[cairo-bugs] [Bug 7279] fill/stroke_extents gives bogus result for zero width/ height cases

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 7 07:24:28 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=7279


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

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




--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk>  2008-04-07 07:24:24 PST ---
With a line width of 0, to get the values you would expect you need to use
cairo_path_extents() instead of the cairo_(fill|stroke)_extents() which
evaluate the bounds of the trapezoids that would be generated by
cairo_(fill|stroke) respectively. cairo_path_extents() instead evaluates the
bounds of the transformed path irrespective of the pen used.

The reporting of the invalid extents was itself fixed in commit
481fd3b4c8d3972ce21399f81b2021a57ed58f00.


-- 
Configure bugmail: http://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