Perhaps you can use one of those RenderToTexture functions to draw to an image...
(assuming you can retrieve the image back to a pixmap later).
Otherwise, there's no built-in support to do it.
You could write your own, or use a third-party imaging module which might do what you need.
(assuming you can retrieve the image back to a pixmap later).
Otherwise, there's no built-in support to do it.
You could write your own, or use a third-party imaging module which might do what you need.