[cairo] Horizontal artifacts rendering to an image surface
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:
> 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).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2627 bytes
More information about the cairo