screenspace(3G) — Silicon Graphics
NAME
screenspace − interprets graphics positions as absolute screen coordinates
SPECIFICATION
C
screenspace()
FORTRAN
subroutine screen
Pascal
procedure screenspace;
DESCRIPTION
screenspace makes a program interpret graphics positions as absolute screen coordinates. This allows pixels and locations outside a program’s graphics window to be read. screenspace is equivalent to:
int xmin, ymin;
getorigin(&xmin, &ymin);
viewport(-xmin, XMAXSCREEN-xmin, -ymin, YMAXSCREEN-ymin);
ortho2(-0.5, 1023.5, -0.5, 767.5);
SEE ALSO
getorigin, ortho2, viewport Using mex, Chapter 2, Programming with mex
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987