[Webkit-unassigned] [Bug 32793] border-radius looks ugly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 27 14:31:55 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32793





--- Comment #1 from Sebastian Billaudelle <sebbil at gmx.de>  2009-12-27 14:31:55 PST ---
I just played around with PyCairo and tried to reproduce WebKit's rendering of
rounded corners.

I translated the code from
WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp's `strokeArc()` (l.
380) into Python (attached) and got a normally rendered corner.

I changed the antialias-settings and line thickness to make it look like
WebKit's rendering, but I didn't get it.

If the rounded rect's corner is drawn by `strokeArc` (I just can't cope with
WebKits 500,000 lines of code... So... I'm not shure...) I suppose, that the
problem is something else and not located in this method.

I'm writing a widget system for my own little desktop environment and need the
border-radius setting for designing the widgets. It just looks ugly.

If there is any way to help you I would love to do so...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list