[cairo] [Patch] make _color_to_short() use _cairo_fixed_from_double()

Jorn Baayen jorn at openedhand.com
Wed Jan 24 06:37:02 PST 2007


Hi,

I attach a patch to make _color_to_short() in cairo-color.c use
_cairo_fixed_from_double(). This does not produce any measurable
speedup, but I'd say it's good for consistency.

Regards,

Jorn

-- 
OpenedHand Ltd.
http://o-hand.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-color.patch
Type: text/x-patch
Size: 430 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20070124/1b0a9597/cairo-color.bin


More information about the cairo mailing list