getsize() — Silicon Graphics Silicon Graphics
NAME
getsize - returns the size of a graphport in the window manager
SPECIFICATION
C
getsize(x, y)
long *x, *y;
FORTRAN
subroutine getsiz(x, y)
integer*4 x, y
Pascal
procedure getsize(x, y: longint);
DESCRIPTION
getsize returns the dimensions (in pixels) of the graphport 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
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985