groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing an arbitrary shaded shape with pic


From: G. Branden Robinson
Subject: Re: Drawing an arbitrary shaded shape with pic
Date: Fri, 13 Sep 2024 02:15:18 -0500

Hi Philippe,

At 2024-09-12T22:01:21+0200, Philippe PITTOLI via wrote:
> Hello,
> 
> I've been trying to do something as simple as drawing a triangle
> filled with some color with gpic and so far I spectacularly failed.
> 
> I don't see any way to draw an arbitrary (shaded) polygon with gpic,
> but it's do-able with groff directly: \D'P x1 y1 x2 y2'. So, I did
> a groff macro… that I called from a pic macro.

I don't have a solution for you, but would like to note that Doug
McIlroy raised this same issue earlier this month.

https://lists.gnu.org/archive/html/groff/2024-09/msg00004.html

He, too, has a workaround.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]