Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psmsk3(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSMSK3(3g)  —  Subroutines

Name

PSMSK3 − Returns the 3D coordinates of the points in a stroke from the stroke-class logical input device specified. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
 

Syntax

PSMSK3 (WKID, SKDNR, N, VIEWI, NP, PXA, PYA, PZA)

Argument        Data Type       Access   Description
---------------------------------------------------------------------------
WKID            Integer         Read     Workstation identifier
SKDNR           Integer         Read     Stroke device number
N               Integer         Read     Maximum number of points to return
VIEWI           Integer         Write    View index
NP              Integer         Write    Number of the points returned
PXA(N), PYA(N)  Real            Write    Points in the stroke, in world
PZA(N)                                   coordinates (X1, Y1, ... , X[NP],
                                         Y(NP])
---------------------------------------------------------------------------

Description

PSMSK3 takes the current measure of the stroke-class logical input device specified by the device number and the workstation identifier, and returns the world coordinate points and the view index of the view transformation Digital PHIGS uses to translate the normalized projection coordinate points to the world coordinate points. 

Digital PHIGS uses the current workstation transformation to translate the device coordinate points to normalized projection coordinate points.  See Getting Started with DEC PHIGS for more information about view indexes. 

If you generate a stroke that contains more points than the number of components in the stroke buffer, you can obtain the additional input through repeated calls to PSMSK3.  To establish a stroke buffer size, call the PINSK3 function. 

See Also

PGTSK3
PINSK3
PQSKS3
PRQSK3
PSMSK
PSSKM
PSVTIP

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