Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for deferred drawing? #425

Closed
user202729 opened this issue Feb 2, 2024 · 2 comments
Closed

Add documentation for deferred drawing? #425

user202729 opened this issue Feb 2, 2024 · 2 comments

Comments

@user202729
Copy link

I'm not sure why but it appears that there's practically no documentation for deferred drawing. While it's mentioned in e.g. https://asymptote.sourceforge.io/doc/Frames-and-pictures.html#add-about or https://asymptote.sourceforge.io/gallery/advection.asy .

There probably need not be too much to say, perhaps just picture.add(void(frame, transform)) or something like that?

@charlesstaats
Copy link
Contributor

This technique is also used in https://asymptote.sourceforge.io/FAQ/section8.html#unitsizes, as well as in my tutorial (section 2.25, "Drawing objects shifted by an unscalable amount"). I agree it would be nice to have it explicitly documented.

@johncbowman
Copy link
Member

Deferred drawing was documented in this article:
John C. Bowman and Andy Hammerlindl, TUGBOAT: The Communications of the TeX Users Group, 29:2, 288-294 (2008)

http://www.math.ualberta.ca/~bowman/publications/asyTUG.pdf

and is now also documented in the manual:
https://asymptote.sourceforge.io/doc/Deferred-drawing.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants