Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prqsk(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PRQSK(3g)  —  Subroutines

Name

PRQSK − Prompts for input using the stroke-class logical input device specified. 

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

Syntax

PRQSK (WKID, SKDNR, N, STAT, VIEWI, NP, PXA, PYA)

Argument        Data Type       Access   Description
---------------------------------------------------------------------------
WKID            Integer         Read     Workstation identifier
SKDNR           Integer         Read     Stroke device number
N               Integer         Read     Maximum number of points to be
                                         returned
STAT            Integer         Write    Status
VIEWI           Integer         Write    View index
NP              Integer         Write    Number of points
PXA(N), PYA(N)  Array of reals  Write    Points in the stroke, in
                                         world coordinates
---------------------------------------------------------------------------

Constants

Defined Argument     Constant       Description
---------------------------------------------------------------------------
STAT                 PNONE          User performed a break action.
                     POK            User entered a stroke.
---------------------------------------------------------------------------

Description

PRQSK prompts you for input using the stroke-class logical input device specified by the device number and the workstation identifier.  If the input status is POK, this function 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. See Getting Started with DEC PHIGS for more information about view indexes. 

Digital PHIGS uses the current workstation transformation to translate the device coordinate points to normalized projection coordinate points.  If you generate a stroke that contains more points than the number of components in the stroke buffer, you will lose the additional input.  To establish a stroke buffer size, call the PINSK function. 

This function ignores the z-coordinate components and returns a two-dimensional result. 

See Also

PGTSK
PINSK
PRQSK3
PSMSK
PSSKM
PSVTIP

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