[cairo] Floating point API in Pixman

Arjen Nienhuis a.g.nienhuis at gmail.com
Wed Aug 11 15:50:42 PDT 2010


2010/8/11 Krzysztof Kosiński <tweenk.pl at gmail.com>

> The 16.16 limitation on gradient coordinates and transformation
> matrices is insufficient and causes glitches when rendering gradients
> and bitmaps at 40x zoom, and in certain cases even at 1x zoom. It
> would be best if gradients could use the full precision of doubles, as
> exposed in Cairo.
>

The gradients in your test case (
https://bugs.freedesktop.org/show_bug.cgi?id=29470) can be rendered fine
with just 16.16 fixed point math. It's just that the implementation in
pixman is not very accurate. I guess it's accumulating errors.


> Regards, Krzysztof
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100812/08f3c05f/attachment.htm>


More information about the cairo mailing list