[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] Fixed point bug
From:       Krzysztof_Kosiński <tweenk.pl () gmail ! com>
Date:       2010-12-14 17:45:07
Message-ID: AANLkTinbX_fijAmoC9+YpqkgH=Fnhqdi=vRqN+vvQEcF () mail ! gmail ! com
[Download RAW message or body]

W dniu 13 grudnia 2010 20:47 użytkownik M Joonas Pihlaja
<jpihlaja@cc.helsinki.fi> napisał:
>
> Hi Krzysztof,
>
> On Sun, 12 Dec 2010, Krzysztof Kosiński wrote:
>
>> I recently submitted a bug that, once fixed, would allow Inkscape to
>> use Cairo for all drawing.
>
> Sorry, I haven't been following your work very closely.   Could you
> remind me about what exact guarantees you require from cairo/pixman
> with respect to coordinate ranges and precision and accuracy?

I think this would avoid most problems:

- Gradient coordinates should have at least 24 bits of precision in
the integral part, or be expressed in a floating point format.
- Transformation matrix elements should have 32-bit floating point
precision on platforms with an FPU.
- The test case in the bug should work at least up to 1000000, and
preferably up to INT_MAX.

Regards, Krzysztof
--
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic