winopen(3G) winopen(3G)
NAME
winopen - creates a graphics window
SPECIFICATION
C long winopen(name)
char name[];
FORTRAN integer*4 function winope(name,length)
character*(*) name
integer*4 length
DESCRIPTION
winopen creates a graphics window. Before calling winopen,
the characteristics of the graphics window must be specified
by minsize , maxsize , keepaspect , prefsize , prefposition
, stepunit , fudge , and foreground . This will initialize
graphics the first time it is called in a program.
winopen returns a small integer value (gid) identifying the
graphics window or -1 if no additional graphics windows are
available. The new window inherits the current graphics
window's state and replaces it as the current window. If no
window characteristics are specified or the description is
incomplete, the window manager prompts the user for the
missing information. Use the cursor to show the size and
location of the graphics window.
In FORTRAN, there is an extra argument, length, which is the
number of characters in the name string.
winopen queues the pseudo devices INPUTCHANGE and REDRAW.
SEE ALSO
minsize, maxsize, keepaspect, prefsize, prefposition,
stepunit, fudge, noport, foreground, winclose
Using mex, Chapter 2, Programming with mex
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)