[cairo] Pixels Are Not Little Squares

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Fri Apr 22 21:37:37 UTC 2016


On Fri, 22 Apr 2016 13:22:19 -0700, Krzysztof Kosiński wrote:

> The little square model is OK for Cairo, since it uses a box filter
> for sampling tje omage when rendering. This is necessary for
> antialiasing.

No it doesn’t, and no it isn’t. You’re probably thinking of image
resampling, and Cairo offers a choice of filters for that
<http://cairographics.org/manual/cairo-cairo-pattern-t.html#cairo-filter-t>.
And the underlying Pixman layer offers even more.


More information about the cairo mailing list