bug-groff
[Top][All Lists]
Advanced

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

[bug #66458] [PATCH] [pic] Add support for drawing arbitrary polygons


From: G. Branden Robinson
Subject: [bug #66458] [PATCH] [pic] Add support for drawing arbitrary polygons
Date: Thu, 19 Dec 2024 15:07:37 -0500 (EST)

Follow-up Comment #6, bug #66458 (group groff):

[comment #5 comment #5:]
> Ted Harding also mentioned in that post the option to rotate any object,
> which I agree would be quite useful. If I recall correctly, polygons are
> built from the endpoints of lines. I don't think it would be exceedingly
> difficult to add an option to apply a rotation matrix to the polygon before
> it is drawn. This would be very useful for blocks too. That said I haven't
> thought about it all that much, and there are probably other complications.
> Circuit_macros has a similar method for rotating objects, granted it's built
> on top of pic rather than built into it.
> 
> https://ece.uwaterloo.ca/~aplevich/Circuit_macros/

As a frustrated linear algebraist, if we supported a rotation matrix, I'd find
the temptation irresistible to support a general transformation matrix,
supporting scaling, reflection, and skew as well.  Except for scaling, it
shouldn't be _any_ harder.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66458>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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