On Tue, Apr 6, 2010 at 6:07 PM, Chris Toshok <[email protected]> wrote:
> 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.
If LOW, MEDIUM, HIGH are defined as in your first mail, this mapping breaks
the assumption that the error should be no more than the given tolerance.
Would it be possible to change pixman to respect it?
Andrea Canciani
_______________________________________________
Pixman mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pixman

Reply via email to