Function newpicture
#include <macaw.h>int newpicture(int w, int h);
Makes a new, empty picture that you can draw into or draw from. Every pixel starts as colour 0.
Parameters
wint- Its width in pixels, from 1 to 4096.
hint- Its height in pixels, from 1 to 4096.
Returns int
The picture's number, or 0 if the size is out of range.
In Pictures, with loadpicture, freepicture, picturewidth, pictureheight, drawpicture, drawpart, drawinto, drawpictureex, drawpartex, savepicture, parsepicture, decodepicture, decodepicturefile, importpicture, importpicturefile, pictureget, pictureset, picturesize, pictureclear, picturecopy, picturegetrgb, picturesetrgb.