[cairo] Floating point API in Pixman

Luca Barbato lu_zero at gentoo.org
Thu Aug 12 00:42:37 PDT 2010


On 08/12/2010 03:04 AM, Krzysztof Kosiński wrote:
> 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,

That is an important bug itself.

> 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.

zooming... how do you do that?

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero



More information about the cairo mailing list