[cairo-bugs] [Bug 29463] Bézier curve is not rendered correctly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 11 02:21:04 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29463

--- Comment #2 from Andrea Canciani <ranma42 at gmail.com> 2010-08-11 02:21:02 PDT ---
Created an attachment (id=37785)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37785)
Zoomed in, with nodes

(In reply to comment #1)
> The wrong rendering also occurs under Linux, so I suppose it is not a platform
> specific issue
The problem is in cairo stroking code, but it is also present in other
libraries (quartz fails in a different way when stroking the same curve, but
fails anyway).
In the attached image, the bezier nodes are red, green, blue, cyan. It can be
seen that the bezier curve ends with the tangent directed downwards, but the
stroker isn't able to get it correct, thus this seems to be a
precision/accuracy problem in the stroker.
The (future, not yet working, expecially for degenerate cases) stroke-to-path
code will hopefully be able to handle this situations.

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


More information about the cairo-bugs mailing list