screenspace() — Silicon Graphics Silicon Graphics
NAME
screenspace - puts a program in screen space under the window manager
SPECIFICATION
C
screenspace()
FORTRAN
subroutine screen
Pascal
procedure screenspace;
DESCRIPTION
screenspace puts the specified program in screen space. Graphics positions are expressed in absolute screen coordinates. This allows pixels and locations outside a program’s graphport to be read. screenspace is equivalent to:
{
int xmin, ymin;
getorigin(&xmin, &ymin);
viewport(-xmin, 1023-xmin, -ymin, 767-ymin);
ortho2(-0.5, 1023.5, -0.5, 767.5);
}
SEE ALSO
getorigin, viewport, ortho2
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985