You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##Description
The drawpic procedure is used to copy of a rectangular picture onto the screen. The left bottom of the picture is placed at (x, y). In the common case, the buffer was initialized by calling takepic. The values of picmode are:
0: Copy actual picture on screen.
1: Copy picture by XORing it onto the screen.
XORing a picture onto the screen twice leaves the screen as it was (this is a convenient way to move images for animation). XORing a picture onto a background effectively superimposes the picture onto the background.
##Details
See takepic for an example of the use of drawpic and for further information about buffers for drawing pictures.
The screen must be in a "graphics" mode. See the setscreen procedure for details. If the screen is not in a "graphics" mode, an error will occur.
##Details
The drawpic, takepic, and sizepic subprogramshave been made obsolete by the subprograms pic_draw.html and**pic_new.html** of the picmodule.html module. Users are strongly suggested to use those routines instead. The picmodule.html module also contains subprograms to load images from files.