Picture

OBJECTS

  typedef drawing  control;

FUNCTIONS

  control  newpicture(image img, rect r);
  void     setimage(control c, image img);

NOTES

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.