[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
undiagnosed pic error
From: |
Douglas McIlroy |
Subject: |
undiagnosed pic error |
Date: |
Sun, 4 Jun 2023 11:19:19 -0400 |
Pic knows how to fill a box, a circle or an ellipse.
Groff(7) says you can fill "closed drawn objects".
So, on a whim, I tried to fill a triangle by drawing a closed line.
.PS
line from 0,0 to 0,1 to 1,1 to 0,0 fill 0.5
.PE
The line is drawn but not filled, and no diagnostic is
issued for the inapplicable "fill".
A nice fix would be to make filled polygons work, perhaps
with a keyword "polygon", which behaves like "line", but
closes the figure automatically. Self-crossing polygons can
be handled as in PostScript.
A super-duper fix would support filling of closed curves made
of lines, splines and arcs.
In any event, it is wrong to silently ignore "fill".
Doug
- undiagnosed pic error,
Douglas McIlroy <=
- Re: undiagnosed pic error, Douglas McIlroy, 2023/06/05
- Re: undiagnosed pic error, G. Branden Robinson, 2023/06/05
- drawing commands in groff(7) (was: undiagnosed pic error), G. Branden Robinson, 2023/06/06
- Re: drawing commands in groff(7) (was: undiagnosed pic error), Douglas McIlroy, 2023/06/06
- Re: drawing commands in groff(7) (was: undiagnosed pic error), Deri, 2023/06/06
- Re: drawing commands in groff(7) (was: undiagnosed pic error), Douglas McIlroy, 2023/06/07
- Re: drawing commands in groff(7) (was: undiagnosed pic error), G. Branden Robinson, 2023/06/07
- the details of arc drawing (was: drawing commands in groff(7)), G. Branden Robinson, 2023/06/07