getorigin() — Silicon Graphics
NAME
getorigin − returns the position of a graphics port in the window manager
SPECIFICATION
C
getorigin(x, y)
long *x, *y;
FORTRAN
subroutine getori(x, y)
integer*4 x, y
Pascal
procedure getorigin(var x, y: longint);
DESCRIPTION
getorigin returns the position of the lower left corner of a graphics port. Call getorigin after getport. When the window manager is not running, getorigin returns (0, 0).
SEE ALSO
getport Using mex, the IRIS Window Manager
NOTE
This routine is available only in immediate mode.
Version 2.5r1 — October 29, 1986