Filled Curves

We did decide to make linewidth=0 suppress drawing the line,

    > and this is in the ps backend. Most likely it is not in all
    > backends, but it is in pdf, svg, and agg as well as ps. In

Would it not be better to catch this at the Artist level and either
not make a call to the backend, or force the edgecolor=facecolor
before calling the backend? Then the backend can remain blissfully
ignorant...

JDH

John Hunter wrote:

    > We did decide to make linewidth=0 suppress drawing the line,
    > and this is in the ps backend. Most likely it is not in all
    > backends, but it is in pdf, svg, and agg as well as ps. In

Would it not be better to catch this at the Artist level and either
not make a call to the backend, or force the edgecolor=facecolor
before calling the backend? Then the backend can remain blissfully
ignorant...

No, this strategy won't work for two reasons:

1) edgecolor=facecolor is not the same as not drawing the edge; it leads to artifacts that can be very damaging.

2) the backends implement patch rendering which inherently includes both the edge and the fill, so we can't avoid having mechanisms for telling the backend whether to stroke the former and/or paint the latter.

Eric

···

JDH

Strongly agree!

Cheers,
Alan Isaac

···

On Tue, 26 Dec 2006, Eric Firing apparently wrote:

1) edgecolor=facecolor is not the same as not drawing the
edge; it leads to artifacts that can be very damaging.