getsize() — Silicon Graphics
NAME
getsize - returns the size of a graphics port in the window manager
SPECIFICATION
C
getsize(x, y)
long *x, *y;
FORTRAN
subroutine getsiz(x, y)
integer*4 x, y
Pascal
procedure getsize(var x, y: longint);
DESCRIPTION
getsize returns the dimensions (in pixels) of the graphics port being used by a graphics program. It should be called after getport. If getsize is called outside the window manager, the size will always be (1024, 768).
SEE ALSO
getport
“Multiple Exposure: The IRIS Window Manager” in the IRIS User’s Guide
NOTE
This command can be used only in immediate mode.
Version 2.4 — May 08, 1986