Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prefsize(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

prefsize(3G)  —  Silicon Graphics

NAME

prefsize − specifies the preferred size of a graphics window

SPECIFICATION

C
prefsize(x, y)
long x, y;

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

Pascal
procedure prefsize(x, y: longint);

DESCRIPTION

prefsize specifies the preferred size of a graphics window as x pixels by y pixels.  Call prefsize at the beginning of a graphics program that runs under the window manager. 

Use prefsize with winconstraints to modify the enforced window size after the window has been created.  prefsize is ignored if winopen is not called or if the window manager is not running. 

SEE ALSO

winconstraints, 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