Function drawinto
#include <macaw.h>void drawinto(int p);
Sends all drawing into a picture instead of your window, so you can build something once and draw it many times. It also undoes any clip.
Parameters
pint- The picture to draw into, or 0 to go back to drawing into the window.
In Pictures, with newpicture, loadpicture, freepicture, picturewidth, pictureheight, drawpicture, drawpart, drawpictureex, drawpartex, savepicture, parsepicture, decodepicture, decodepicturefile, importpicture, importpicturefile, pictureget, pictureset, picturesize, pictureclear, picturecopy, picturegetrgb, picturesetrgb.