We are about to switch to a new forum software. Until then we have removed the registration on this forum.
According to https://processing.org/reference/PGraphics.html:
To create a new graphics context, use the
createGraphics()function. Do not use the syntax
I have a place in my code where I need to create a
PGraphics, but it is not in a place where I have access to an existing
PGraphics on which to call
createGraphics(). What can I do?