[cairo] big point handling

Dan Amelang daniel.amelang at gmail.com
Tue Jun 12 13:57:25 PDT 2007

On 6/12/07, Vladimir Vukicevic <vladimir at pobox.com> wrote:
> Yep.  Though if we're going down the mitigation route, the move to 24.8
> work should really be a move to a compile-time selection of precision
> and type size -- would be nice to be able to use 64-bit types if
> necessary (though that would mean needing to use 128-bit intermediate
> types in a few places, I think).

Hmmm...what about presenting the option of 64-bit floats? I'm probably
exposing my ignorance of some cairo internals that wouldn't transition
to floating point very easily.

If that were possible (and desirable), we might be able to cover all
cases well with just two options: 32-bit 24.8 fixed point and 64-bit
floating point. The devices on which the fixed point option would make
sense probably wouldn't care about the limited coordinate space.


More information about the cairo mailing list