Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getsize(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getsize()  —  Silicon Graphics

NAME

getsize − returns the size of a graphics port in the window manager

SPECIFICATION

C
getsize(x, y)
long *x, *y;

FORTRAN
subroutine getsiz(x, y)
integer*4 x, y

Pascal
procedure getsize(var x, y: longint);

DESCRIPTION

getsize returns the dimensions (in pixels) of the graphics window used by a graphics program.  Call getsize after getport.  If you call getsize outside the window manager, the size is always (1024, 1024). 

SEE ALSO

getport Using mex

NOTE

This routine is available only in immediate mode. 

Version 2.5  —  April 22, 1987

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