PEXSetWorkstationViewPriority - Set Workstation View Priority


Synopsis

 
   void PEXSetWorkstationViewPriority(
        Display *display,
        PEXWorkstation workstation,
        unsigned int index1,
        unsigned int index2,
        int priority
   )
 

Arguments

display
A pointer to a display structure returned by a successful XOpenDisplay call.

workstation
The resource identifier of the workstation.

index1
The first view table entry index.

index2
The second view table entry index.

priority
A relative priority of index1 with respect to index2 (PEXHigher or PEXLower).

Returns

None.

Description

Invoke PEXSetWorkstationViewPriority to set 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.

Errors

BadPEXWorkstation
The specified workstation resource identifier is invalid.

BadValue
The specified value for priority is invalid, or the specified table entry is not defined.

See Also

For a list of PHIGS Workstation functions and related topics, see PHIGS Workstation.