Bug 39970 - Incorrect result of cairo_fill_extents
Summary: Incorrect result of cairo_fill_extents
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.10.2
Hardware: All All
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-10 01:42 UTC by Martin Horák
Modified: 2012-04-09 07:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.