[cairo] Horizontal artifacts rendering to an image surface

Søren Sandmann sandmann at cs.au.dk
Fri Jul 27 14:43:00 PDT 2012


Floyd May <FMay at sstsoftware.com> writes:

> I've been able to boil this down to a reproducible, small case.
> Basically, two four-point polygons where one edge from each is
> collinear.  Using even-odd rendering, I'm getting these artifacts:
>
> http://imagebin.org/222354
>
> Again, this is based on v 1.10.2, on Windows (both x86 and x64 exhibit
> the issue), based on a recent download of GTK+ binaries.
>
> Here is C# source (using Mono.Cairo; should be able to adapt to C code
> relatively easily):

FWIW, here is a C variant that shows the same artefact and also
demonstrates that it doesn't happen with the X backend. (To use the X
backend, set the "const int image" variable to 0).


Soren

-------------- next part --------------
A non-text attachment was scrubbed...
Name: artefacts.c
Type: text/x-csrc
Size: 2627 bytes
Desc: Artefacts
URL: <http://lists.cairographics.org/archives/cairo/attachments/20120727/c45787b8/attachment.c>


More information about the cairo mailing list