Bug 2699 - CAIRO_LINE_CAP_ROUND not contributing to stroke_extents
Summary: CAIRO_LINE_CAP_ROUND not contributing to stroke_extents
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 0.9.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 17:39 UTC by tor
Modified: 2005-08-22 00:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
testcase snippet (531 bytes, text/plain)
2005-03-10 17:40 UTC, tor
Details

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.