Previous: Win32 Graphics, Up: Graphics


17.11 OS/2 Graphics

MIT/GNU Scheme supports graphics under the OS/2 Presentation Manager in OS/2 version 2.1 and later. The OS/2 graphics device type is implemented as a top level window. In addition to the usual operations, there are operations to control the size, position, and colors of a graphics window. OS/2 graphics devices support images, which are implemented as memory presentation spaces.

The custom graphics operations defined in this section are invoked using the procedure graphics-operation. For example,

     (graphics-operation device 'set-foreground-color "blue")