Re: PATCH cairo-www: Simpler explanation for how to get sharp, single-pixel-wide lines

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
On Mon, 25 Apr 2016 09:09:34 -0700, Bill Spitzak wrote:

> Also diagonal lines and curves look horrible.

Which, I think, illustrates the difference between guessing and actually
trying things out.

Enclosed are four examples illustrating what happens to 45° diagonal
lines. As you can see, the results are the opposite from what happens
to exactly vertical/horizontal lines, namely the lines at
integer-plus-half coordinates are thicker and blurrier, while the ones
at integer coordinates are the thinnest and sharpest.

In other words, my recommendation to turn antialiasing off works under
a wider range of conditions than the existing FAQ answer.

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
diag_halfint_aa.png (image/png, 5.2 KB) - not displayed
diag_halfint_jaggie.png (image/png, 3.6 KB) - not displayed
diag_int_aa.png (image/png, 5 KB) - not displayed
diag_int_jaggie.png (image/png, 3.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.