[cairo] Pixman coordinates

Krzysztof Kosiński tweenk.pl at gmail.com
Mon Jul 5 15:24:43 PDT 2010


2010/7/5 Bill Spitzak <spitzak at gmail.com>:
> No it is not simpler, but fixing this in Cairo would help EVERYBODY trying
> to use it. Fixing it in the program using Cairo would only solve the problem
> for one programmer.

Couldn't have put it better :)

A small update. It appears that paths larger than 32ki pixels aren't
problematic, as long as the fill is solid. The rendering is corrupted
only if the path has a gradient fill. Corruption doesn't depend on
whether the gradient stops are close or far away from the rendered
area.

I also noticed that with an extremely large path (182ki pixels high at
1x zoom) and large zoom (~4500%) the fill appears at the wrong side of
the border and the dashes are positioned incorrectly. This appears
related to hitting the 8Mi limit on path coordinates, but such paths
are very unlikely to appear in practice.

Regards, Krzysztof


More information about the cairo mailing list