Bug 2699

Summary: CAIRO_LINE_CAP_ROUND not contributing to stroke_extents
Product: cairo Reporter: tor
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high CC: jwatt
Version: 0.9.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: testcase snippet

Description tor 2005-03-10 17:39:25 UTC
The attached snippet illustrates the problem - when a line has a round
cap, the space used by the cap isn't included in the result of
cairo_stroke extents.   The output is as follows:

butt  : 0.300000 0.190000  0.700000 0.410000
round : 0.300000 0.190000  0.700000 0.410000
square: 0.190000 0.190000  0.810000 0.410000

Expected output in this case (horizontal line) is that the round and
square cases have the same extent.

Tested with cairo-0.4.0.
Comment 1 tor 2005-03-10 17:40:00 UTC
Created attachment 2080 [details]
testcase snippet
Comment 2 tor 2005-03-30 09:36:28 UTC
Fix checked into cairo cvs tree (cairo-gstate.c 1.98).
Comment 3 Carl Worth 2005-08-22 17:14:30 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.

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.