Bug 8248 - Rounded Rectangles get drawn wrongly
Summary: Rounded Rectangles get drawn wrongly
Status: RESOLVED NOTOURBUG
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.2.5
Hardware: All Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-13 02:00 UTC by ivo vigan
Modified: 2006-09-13 07:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
rounded rectangles picture (26.27 KB, image/jpeg)
2006-09-13 02:01 UTC, ivo vigan
Details

Description ivo vigan 2006-09-13 02:00:25 UTC
Take a look at the attached picture. If the height of a rounded rectangle falls 
below a certain value and the width exceeds a certain amount, strange vertical 
lines are drawn outside the rectangle and the arcs don't touch each other 
anymore.
Comment 1 ivo vigan 2006-09-13 02:01:17 UTC
Created attachment 6942 [details]
rounded rectangles picture
Comment 2 Owen Taylor 2006-09-13 06:51:26 UTC
Cairo doesn't have any built-in support for rounded rectangles that I'm
aware of. (Unless something was added recently.) How are you creating the 
rectangles in your image?
Comment 3 ivo vigan 2006-09-13 07:09:47 UTC
I've created the figures using draw2D/GEF - a framework provided by eclipse.

What made me relate this bug with cairo is the fact that the figures get drawn
differently under linux compared to windows. (btw: they get drawn wrongly under
windows too)

But it's also likable that it's a bug of draw2d.
Comment 4 Owen Taylor 2006-09-13 07:16:25 UTC
Sounds like a bug in the cairo background to GEF ... what GEF is using
on Windows (GDI+ maybe) could have a rounded-rectangle function, so
it's not the same code path.



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.