Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ keepaspec(3g) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     keepaspect(3G)                                     keepaspect(3G)



NAME
keepaspect - specifies the aspect ratio of a graphics window
SPECIFICATION
C keepaspect(x, y)
long x, y;
FORTRAN subroutine keepas(x, y)
integer*4 x, y
DESCRIPTION
keepaspect specifies the aspect ratio of a graphics window.
Call it at the beginning of a graphics program. It takes
effect when winopen is called. The resulting graphics
window maintains the aspect ratio specified in keepaspect,
even if it changes size. For example, keepaspect(1, 1)
always results in a square graphics window. You can also
call keepaspect in conjunction with winconstraints to modify
the enforced aspect ratio after the window has been created.
SEE ALSO
winopen, fudge, winconstraints
Using mex, Chapter 2, Programming with mex
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)

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