[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


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

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