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:

> No, turning off antialiasing is not the solution. This can be made
> obvious by setting the line width to slightly larger than 1, you will
> then get alternating 1 and 2 pixel thick lines.

Nope. Enclosed are magnified views showing line thicknesses set to 1.0
and 1.1. The grid represents integer device coordinates, the spots the
pixel positions. As you can see, the line widths are perfectly uniform
in both cases.

> Also diagonal lines and curves look horrible.

Which is not what the FAQ was asking, and was addressed in my answer
anyway.

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
line_int.png (image/png, 2.9 KB) - not displayed
line_thicker_int.png (image/png, 3 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.