[cairo] bug in cairo_in_stroke() ?

Soeren Sandmann sandmann at cs.au.dk
Fri May 27 11:43:38 PDT 2011

control H <control.h at gmail.com> writes:

>> I see unexpected behavior in the cairo_in_stroke() function. Attached
>> is a simple program showing the problem. It seems the slope makes a
>> difference. Resizing the window gives different results.
>> Is this a bug?
> Oh I forgot to tell:
> cairo version: 1.10.2
> Gtk version: 2.22.0
> Glib version: 2.28.0
> Can people confirm this is a bug in cairo_in_stroke() ?

It certainly looks that way. Here:


is a version of the test program that works with GTK+ 2.x and therefore
cairo 1.8. The bug doesn't happen with 1.8, but does happen with git
master as of some weeks ago.


More information about the cairo mailing list