Macaw OS C reference

Function picturecopy

#include <macaw.h>
int picturecopy(int p);

Makes a new picture that's the same as another one, so you can change the copy and keep the first.

Parameters

pint
The number of the picture to copy.

Returns int

The new picture's number.

In Pictures, with newpicture, loadpicture, freepicture, picturewidth, pictureheight, drawpicture, drawpart, drawinto, drawpictureex, drawpartex, savepicture, parsepicture, decodepicture, decodepicturefile, importpicture, importpicturefile, pictureget, pictureset, picturesize, pictureclear, picturegetrgb, picturesetrgb.