SET_LOCATOR(3G)
NAME
set_locator − set locator value.
SYNOPSIS
C SYNTAX
void set_locator(fildes,ordinal,x,y,z);
int fildes,ordinal;
float x,y,z;
FORTRAN77 SYNTAX
subroutine set_locator(fildes,ordinal,x,y,z)
integer*4 fildes,ordinal
real x,y,z
PASCAL SYNTAX
procedure set_locator(fildes,ordinal:integer;x,y,z:real);
HP-UX COMPATIBILITY
Level: HP-UX/STANDARD
Origin: HP
DESCRIPTION
INPUT PARAMETER
fildes
is an integer file descriptor returned by gopen when the I/O path to a graphic device is opened.
ordinal
is the logical device number ranging from 1 to the number of devices of the locator class.
x,y,z
define the new x, y and z Virtual Device Coordinate values of the locator device.
DISCUSSION
Set the value of the locator device specified by fildes and ordinal. For a relative position device, such as a mouse, this call sets it’s current location. For an absolute device, such as a tablet, the location is also set, but is then reset by the device to the current location of the tablet’s pen.
Hewlett-Packard Company — May 11, 2021