Next: , Previous: Ghostview interface to ghostscript, Up: Interface with ghostscript

7.1.2 Drawing on a Window

The GHOSTVIEW environment variable contains the window id of the target window. The window id is an integer. Ghostscript will use the attributes of the window to obtain the width, height, colormap, screen, and visual of the window. The remainder of the information is gotten from the GHOSTVIEW property on that window.