AGD_NWIND

Define an IDI window from the current picture

Description:

Define an IDI window in the given memory from the current picture. The window coordinates define the size of the rectangular area in pixels and the offset of its bottom left corner from the memory origin. The window is defined as the smallest possible area, made up of whole pixels, that completely contains the picture. If the device associated with the current picture is not already open then this routine will open the device and return the display identifier. Furthermore if the device was opened with WRITE access (in AGI_ASSOC or AGI_OPEN) then the window will be cleared. If the device is already open then the display identifier will be the same as previously and the device will not be cleared.

Invocation

CALL AGD_NWIND( MEMID, DISPID, XSIZE, YSIZE, XOFF, YOFF, STATUS )

Arguments

MEMID = INTEGER (Given)
Memory identifier
DISPID = INTEGER (Returned)
Display identifier
XSIZE = INTEGER (Returned)
X size of window
YSIZE = INTEGER (Returned)
Y size of window
XOFF = INTEGER (Returned)
X offset of window from origin
YOFF = INTEGER (Returned)
Y offset of window from origin
STATUS = INTEGER (Given and Returned)
The global status