[cairo] Question about scale-source-surface-paint test

Dominic Lachowicz domlachowicz at gmail.com
Mon Feb 13 07:50:50 PST 2006


Emmanuel,

It might be worth trying the patch in
https://bugs.freedesktop.org/show_bug.cgi?id=2488 as mentioned in this
thread

http://lists.freedesktop.org/archives/cairo/2006-February/006293.html

and let the list know if that improves things.

Best,
Dom

On 2/13/06, Carl Worth <cworth at cworth.org> wrote:
> On Sun, 12 Feb 2006 13:53:14 +0100, Emmanuel Pacaud wrote:
> >
> > Shouldn't edges of image output of this test program be sharp, even
> > without a call to cairo_pattern_set_filter ?
> >
>
> Could be. We have known bugs in the filter sampling location for
> CAIRO_FILTER_NEAREST, (see test/filter-nearest-offset.c). So I
> wouldn't be too surprised to see similar things in the case of
> CAIRO_FILTER_BILINEAR, (which is what you are using).
>
> In the test you refer to I was targeting only the behavior of the
> scaling itself. A separate test that targets the filtering behavior
> might be useful. It will require some careful thinking about how the
> bilinear filter should be specified, (we don't have a written
> specification of that now, nor I am doing that careful thinking at the
> moment).
>
> -Carl
>
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
>
>
>


--
Counting bodies like sheep to the rhythm of the war drums.


More information about the cairo mailing list