[Pixman] [cairo] [PATCHES] gradient color-tolerance/performance work

Chris Toshok toshok at gmail.com
Tue Apr 6 09:07:24 PDT 2010


On 04/06/2010 04:58 AM, Adrian Johnson wrote:
>
> Something like
>
>   cairo_pattern_set_color_tolerance (double error)
>
> would be more flexible and could be used directly by the PS/PDF backends.

done.  the cairo change now uses a double for color tolerance, while 
pixman retains the enum. 
_cairo_color_tolerance_to_pixman_color_tolerance now maps 0.0 => LOW, 
(0.0,0.5) => MEDIUM, [0.5,1.0] => HIGH.  0.0 is the default.

I've also finally figured out enough git to put my changes up in 
accessible git repos:

http://sublimeintervention.com/~toshok/cairo/pixman.git
http://sublimeintervention.com/~toshok/cairo/cairo.git

Chris


More information about the Pixman mailing list