URL: <https://savannah.gnu.org/bugs/?67229>
Summary: [pic] implement a general transformation matrix
Group: GNU roff
Submitter: None
Submitted: Fri 20 Jun 2025 09:38:03 PM UTC
Category: Preprocessor pic
Severity: 3 - Normal
Item Group: Feature change
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 20 Jun 2025 09:38:03 PM UTC By: Anonymous
Such a matrix would enable rotation, scaling, reflection, and skew.
Duncan Losin says (in bug #66458): "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. ... 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/"
Branden replied: "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/?67229>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
