Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getviewpo(3g) — 4D1 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     getviewport(3G)                                   getviewport(3G)



NAME
getviewport - returns the current viewport
SPECIFICATION
C getviewport(left, right, bottom, top)
Screencoord *left, *right, *bottom, *top;
FORTRAN subroutine getvie(left, right, bottom, top)
integer*2 left, right, bottom, top
DESCRIPTION
getviewport returns the current viewport and reads the top
of the viewport stack. left, right, bottom, and top are the
addresses of four memory locations. These are assigned the
left, right, bottom, and top coordinates of the viewport.
SEE ALSO
popviewport, pushviewport, viewport
Programming Guide, Section 4.4, Viewports
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)

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