[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPGTLC - Get Locator

GPGTLC (view, pos)

Purpose

Use GPGTLC to retrieve a locator input value from the current event report. The event is not removed from the current event report until the next invocation of the Await Event (GPAWEV) subroutine.

The view index indicates the view table entry whose matrix was used to convert the locator point to World Coordinates (WC) This was the view active for input with the highest input priority at the indicated screen location.

The device to which this value corresponds was identified on the previous invocation of GPAWEV

Locator input is returned from the view active for input with the highest input priority under the cursor. View zero is the highest priority view unless modified by your application.

Parameters

view -- returned by the graPHIGS API, fullword integer

View index.

pos -- returned by the graPHIGS API, 3 short floating-point numbers (WC)

Locator position.

Error Codes

150
GET FUNCTION DOES NOT MATCH CURRENT EVENT CLASS
519
NO CURRENT EVENT REPORT AVAILABLE

Related Subroutines

GPAWEV
Await Event
GPVIP
Set View Input Priority
GPVP
Set View Priority

RCP code

201336065 (X'0C002501')


[ Previous | Next | Contents | Glossary | Home | Search ]