Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dmpdws(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DMPDWS(3g)  —  Subroutines

Name

DMPDWS − Converts device coordinate points to window system coordinate values. 

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

Syntax

DMPDWS (WKID, N, DCPTS, ERRIND, WCPTS)

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

Description

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

Digital PHIGS Version 3.1 does not support this function.

See Also

DMPDW
DMWSDC

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