Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getorigin(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getorigin(3G)  —  Silicon Graphics

NAME

getorigin − returns the position of a graphics window

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 window.  Call getorigin after graphics initialization. 

When the window manager is not running, getorigin returns (0, 0). 

SEE ALSO

getport, getsize, winopen Using mex, Chapter 2, Programming with mex

NOTE

This routine is available only in immediate mode. 

Version 3.6  —  December 20, 1987

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