getport() — Silicon Graphics Silicon Graphics
NAME
getport - creates a graphport in the window manager
SPECIFICATION
C
getport(name)
char name[];
FORTRAN
subroutine getpor(name)
character*(*) name
Pascal
procedure getport(name: pstring);
DESCRIPTION
getport does a graphics initialization and creates a graphport based on the characteristics specified in the commands preceding the call to getport. If no characteristics are specified or the description is incomplete, the window manager prompts the user for the missing information. The user employs the cursor to show the size and location of the graphport. getport puts the graphics program in the background, unless the foreground command is called (before getport ). When it is called outside the window manager, getport creates a standard-sized graphport: (xmin 0, xmax 1023, ymin 0, ymax 767).
SEE ALSO
minsize, maxsize, keepaspect, prefsize, prefposition, stepunit, fudge, noport, foreground
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985