PRQLC(3g) — Subroutines
Name
PRQLC − Prompts for input using the locator-class logical input device specified.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PRQLC (WKID, LCDNR, STAT, VIEWI, PX, PY)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
LCDNR Integer Read Locator device number
CHDNR Integer Read Choice device number
STAT Integer Write Status
VIEWI Integer Write View index
PX, PY Real Write 2D locator position, in world
coordinates (x, y)
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
STAT PNONE User performed a break action.
POK User selected a locator position.
---------------------------------------------------------------------------
Description
PRQLC prompts you for input using the locator-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 point and 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 point to a normalized projection coordinate point.
This function ignores the z-coordinate components and returns a two-dimensional result.
See Also
PGTLC
PINLC
PRQLC3
PSMLC
PSLCM
PSVTIP