vectorgraphics / asymptote

2D & 3D TeX-Aware Vector Graphics Language
https://asymptote.sourceforge.io/
GNU General Public License v3.0
533 stars 89 forks source link

Suggestion: transformations for shading tools? #456

Closed user202729 closed 2 weeks ago

user202729 commented 2 months ago

For how we all use shift(…)*rotate(…)*unitsquare, it's surprising that functions like axialshade takes the clipping path, initial and final points as parameters, while we already have clip() and all the transformations.

johncbowman commented 2 weeks ago

Think of axialshade as a special version of fill; we don't apply transformations to fill or draw either.