[cairo] rewriting libpixman
Keith Packard
keithp at keithp.com
Fri Mar 30 16:51:45 PDT 2007
On Fri, 2007-03-30 at 19:26 -0400, James Cloos wrote:
> As I recall from doing some analysis during the float thread, that
> should be multiplying by 256 and dividing by 31. Ie, always multiply
> by 2^${num_bits} and divide by ${Int_max} to get reversable conversions
> well centered w/in the sample resolution(s).
31. ick.
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070330/ce544d65/attachment.pgp
More information about the cairo
mailing list