Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ inqdevvpt(3D) — Stardent 3.0 System Software

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DdSetViewport(3D)

DdInqExtent(3D)

DoDevice(3D)

DdInqViewport(3D)  —  Stardent Computer Inc. (\*(Dd)

NAME

DdInqViewport − Return the size of the device viewport of a device

SYNOPSIS

C:

void DdInqViewport(device, viewport)
DtObject device;
DtVolume ∗viewport;

Fortran:

CALL DDQV(DEVICE, VWPORT)
INTEGER∗4 DEVICE
REAL∗8 VWPORT(6)

DESCRIPTION

DdInqViewport returns in the supplied parameter viewport the extent of the device viewport for the device, device. 

The device viewport is the subportion of the device’s extent (the display volume is obtainable with DdInqExtent <DDQE>) upon which the application displays the device’s frame. 

The default viewport uses all the current device volume.  If the device extent changes (for example, if an X-window is resized), then by default, the viewport automatically changes to fit the new device extent.  The auto-resize feature can be disabled for a device. 

ERRORS

DdInqViewport will fail if the device handle is invalid. 

[WARNING - invalid device handle]

SEE ALSO

DdSetViewport(3D), DdInqExtent(3D), DoDevice(3D)

September 29, 2021

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