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 <CABDcavZsi=NmugMMMNwD0LeL3V3=3Q80KWE6LttwwM5oDsouDQ@mail.gmail.com>
2017-05-18 12:17 GMT+02:00 Lawrence D'Oliveiro <[email protected]>:
> On Thu, 18 May 2017 11:03:28 +0200, Guillermo Rodriguez Garcia wrote:
>
>> 2017-05-18 9:24 GMT+02:00 Lawrence D'Oliveiro:
>>
>>> On Thu, 18 May 2017 09:08:16 +0200, Guillermo Rodriguez Garcia
>>> wrote:
>>
>>>> ... 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.
>>>
>>> Which I addressed in my answer--please read it again.
>>
>> Nothing to add on my side.
>
> In which case, let me quote myself:
>
>     The drawback is that, if your lines are not exactly vertical or
>     horizontal, you will get horrible “jaggies”. This is why
>     antialiasing is on by default, and should be left that way for most
>     text and shape drawing. To restore the default, end your aliased
>     drawing sequence with
>
>         cairo_set_antialias(cr, CAIRO_ANTIALIAS_DEFAULT);
>
> So the question becomes: do you actually have a point that I haven’t
> already addressed in my answer?

Sure. It's just that I am tired of repeating it over and over. Here is
a summary:

"In my opinion, the current answer is much more useful than your
proposed alternative"

As I said you don't need to convince me. I just wanted to state my
opinion on the list.

Guillermo
-- 
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.