PSMLC(3g) — Subroutines
Name
PSMLC − Returns the 2D coordinates of the locator position from the locator-class logical input device specified.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PSMLC (WKID, LCDNR, VIEWI, LPX, LPY)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
LCDNR Integer Read Locator device number
VIEWI Integer Write View index
LPX, LPY Real Write Locator position, in world
coordinates (x, y)
---------------------------------------------------------------------------
Description
PSMLC takes the current measure of the locator-class logical input device specified by the device number and the workstation identifier. The function returns the world coordinate point and the view index of the view transformation Digital PHIGS uses to translate the normalized projection coordinate point to the world coordinate point.
Digital PHIGS uses the current workstation transformation to translate the device coordinate point to the normalized projection coordinate point. See Getting Started with DEC PHIGS for more information about view indexes.
This function ignores the z-coordinate components and returns a two-dimensional result.
See Also
PGTLC
PINLC
PQLCS
PRQLC
PSMLC3
PSLCM
PSVTIP