[cairo] Pixels Are Not Little Squares

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Sun Apr 24 22:13:47 UTC 2016


On Fri, 22 Apr 2016 16:05:12 +1200, I wrote:

> The explanation of how to draw sharp single-pixel-wide lines
> <http://cairographics.org/FAQ/#sharp_lines> could be better phrased.

I have just posted a patch for the wiki, which replaces all that
discussion with the simplest possible solution: instead of calculating
all your own careful alignment to device pixels, just turn off
anti-aliasing and let Cairo do it for you.


More information about the cairo mailing list