[cairo-bugs] [Bug 62375] Test case 'get-path-extents' fails in current git
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 20 06:27:24 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=62375
Chris Wilson <chris at chris-wilson.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit 9ea5993b036f5930179263baaf3162eeebb7c153
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Jun 20 14:11:38 2013 +0100
test/get-path-extents: Check exact matches within tolerance
When we refine geometry, we do so to a tolerance as specified by the
user. This means that we can not expect tessellated results to have
exact results, but always they should match within the specified
tolerance.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
commit b7331f0c52cc64f2c224eac502afa6c50a1a8d8b
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Jun 20 14:23:15 2013 +0100
gstate: Speed up stroked path extents
We can skip the intermediate evaluation of the trapezoids for
determining the extents of a stroked path by using the relatively new
functions for computing the contours of the stroke. Then we can simply
use the bbox of the points within the contours to retrieve the path
extents - which is already provided by the polygon holding the contours
of the stroke. This provides a faster result with less numerical
inaccuracy due to fewer stages required in the computation
References: https://bugs.freedesktop.org/show_bug.cgi?id=62375
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20130620/a1f24902/attachment.html>
More information about the cairo-bugs
mailing list