Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dmwsdc(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DMWSDC(3g)  —  Subroutines

Name

DMWSDC − Converts window system points to device coordinate values. 

Operating States: PHOP, WSOP, ∗, ∗
Digital PHIGS extension function

Syntax

DMWSDC (WKID, N, DCPTS, ERRIND, DCPTS)

Argument    Data Type      Access      Description
---------------------------------------------------------------------------
WKID        Integer        Read        Workstation identifier
N           Integer        Read        Number of points
WSCPTS      Array of       Write       WSC point list, in the order
            reals                      x1, y1, z1, x2, y2, z2...
ERRIND      Integer        Write       Error indicator
DCPTS       Array of       Read        Device coordinate point list, in
            reals                      the order x1, y1, z1, x2, y2, z2...
--------------------------------------------------------------------------

Description

DMWSDC converts the specified list of window system points to device coordinate values and returns them in device coordinate points.  The transformation takes scaling of the units and any difference in the origins of the axes into account.  You may need to use a type conversion from integer to floating-point before you pass the window system points to window system functions. 

Digital PHIGS Version 3.1 does not support this function.

See Also

DMPDW
DMPDWS

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