[Pixman] [cairo] Floating point API in Pixman

Krzysztof Kosiński tweenk.pl at gmail.com
Wed Aug 11 18:04:12 PDT 2010


W dniu 12 sierpnia 2010 00:50 użytkownik Arjen Nienhuis
<a.g.nienhuis at gmail.com> napisał:
> 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.

That's true, but regardless of that, it's still very easy to hit the
16.16 limitation, for example by zooming in 40x into a gradient-filled
shape. Same happens for bitmaps, because the transformation matrices
are in fixed point.

Regards, Krzysztof


More information about the Pixman mailing list