typedef drawing control;
control newpicture(image img, rect r); void setimage(control c, image img);
The newpicture function creates a control, which has the specified image drawn within it. The control will appear on the last window which was created.
The picture control does not respond to user clicks or key events. It merely draws the specified image within its boundaries, scaled to fit if necessary.
To change the image used by a control, call setimage.