PEXSetWorkstationViewPriority(3) — Subroutines
Name
PEXSetWorkstationViewPriority - Set Workstation View Priority
Synopsis
void PEXSetWorkstationViewPriority(Display ∗display, PEXWorkstation workstation, unsigned int index1, unsigned int index2, int priority)
Arguments
displayA pointer to a display structure returned by a successful XOpenDisplay call.
workstationThe resource identifier of the workstation.
index1The first view table entry index.
index2The second view table entry index.
priorityA relative priority of index 1 with respect to index 2 (PEXHigher or PEXLower).
Returns
None
Description
This function sets the relative priorities of entries in the workstation’s current view table. The priority of the first view table entry with respect to the second view table entry is set to the next higher or lower priority as indicated by the specified priority. These priorities are used to determine the order in which view table entries are tested when selecting the inverse viewing transformation to use for transforming from device coordinates to world coordinates.
Data Structures
typedef XID PEXWorkstation;
Errors
BadPEXWorkstation
The specified workstation resource identifier is invalid.
BadValueThe specified value for priority is invalid, or the specified table entry is not defined.