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 Thu, 18 May 2017 11:24:05 +0200, Guillermo Rodriguez wrote:

> https://lists.cairographics.org/archives/cairo/2004-October/002039.html

Worth (so to speak) also pointing out this bit:

    As I talk about in the comment in the sample code, it may still be
    beneficial to add some automatic snapping to cairo. It would simply
    make it easier to achieve effects such as this---and in particular,
    to achieve these effects regardless of what scaling the current
    transformation might be performing.

Was such an “automatic snapping” API ever added to Cairo? One that is
independent of the current transformation?

Trick question: in fact, it already existed even as he spoke.

It’s precisely the effect that *aliasing* achieves.
-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
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.