Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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.  It should only be called only after getport.  When the window manager is not running, getorigin always returns (0, 0). 

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026