Re: PATCH cairo-www: Simpler explanation for how to get sharp, single-pixel-wide lines
Guillermo Rodriguez <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CABDcavaAEXi-ptjN4MfzgRn26hkj5mZJp8SMiD7reg7Me1f1GA@mail.gmail.com> |
2017-05-18 9:08 GMT+02:00 Guillermo Rodriguez Garcia <[email protected]>: > 2017-05-18 2:45 GMT+02:00 Lawrence D'Oliveiro <[email protected]>: >> On Wed, 17 May 2017 21:28:22 +0200, Olaf Schmidt wrote: >> >>> - btnHello2 following the suggestion of Lawrence (which has its >>> place, but I'd think it should only be mentioned "in addition": >>> (in case one wants to render straight horizontal or vertical lines >>> only) >> >> Which is what the question in the FAQ was asking. > > Except for the "only" bit. > > The question in the FAQ talks about horizontal and vertical lines, but > unless you are writing an application that ONLY draws vertical and > horizontal straight lines (which doesn't seem to be very common) it is > pretty obvious that whoever has this problem would like to have a > solution that does not affect everything else. BTW here's an excerpt from a post by Carl Worth from this same mailing list [1]: === The answer here is not to "turn off antialiasing", but instead to adjust your geometry as needed to align with the device pixels. === [1]: https://lists.cairographics.org/archives/cairo/2004-October/002039.html Guillermo -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo