Bug 39970

Summary: Incorrect result of cairo_fill_extents
Product: cairo Reporter: Martin Horák <horakm>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.10.2   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Martin Horák 2011-08-10 01:42:13 UTC
In the following code snippet, cairo_fill_extents incorrectly returns zero (empty) rectangle.
This affects version 1.10.2 (in 1.8.10, the result is correct for this specific case).

cairo_new_path( &Cairo );
cairo_move_to( &Cairo, 4, 8 );
cairo_line_to( &Cairo, 6, 8 );
cairo_line_to( &Cairo, 6, 7 );
cairo_fill_extents( &Cairo, &x1, &y1, &x2, &y2 );
Comment 1 Chris Wilson 2012-04-09 07:59:47 UTC
fill extents: (4.000000, 7.000000), (6.000000, 8.000000)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.