[cairo] antialias for images?

MenTaLguY mental at rydia.net
Mon Oct 15 11:29:10 PDT 2007


On Mon, 15 Oct 2007 19:24:03 +0200, "Peter Goetz" <peter.gtz2 at gmail.com> wrote:
> As you already supposed I started with a high resolution source image.
> I also change the order of rotation and scale. With no success.
> Even if I don't rotate at all and just scale the image down, I get a
> non-antialiased result.
> 
> Any suggestions? Thanks again for help!

You can use cairo_pattern_set_filter to get different
interpolation/decimation filters.  You may want to try CAIRO_FILTER_BEST.

-mental



More information about the cairo mailing list