PEXSetWorkstationHLHSRMode - Set Workstation HLHSR Mode


Synopsis

 
   void PEXSetWorkstationHLHSRMode(
        Display *display,
        PEXWorkstation workstation,
        int hlhsr_mode
   )
 

Arguments

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

workstation
The resource identifier of the workstation.

hlhsr_mode
The workstation HLHSR mode (PEXHLHSROff, PEXHLHSRZBuffer, PEXHLHSRPainters, PEXHLHSRScanline, PEXHLHSRHiddenLineOnly or, PEXHLHSRZBufferID).

Returns

None.

Description

Invoke PEXSetWorkstationHLHSRMode to set the requested HLHSR mode of the specified workstation.

If the workstation's display surface attribute is PEXEmpty, or if the dynamic modification for HLHSR mode is PEXIMM, then this function sets the current HLHSR mode to the specified HLHSR mode and sets the HLHSR update to PEXNotPending; otherwise, it sets the HLHSR update to PEXPending and does not change the current HLHSR mode.

Errors

BadAlloc
The implementation failed to allocate resources needed for HLHSR.

BadPEXWorkstation
The specified workstation resource identifier is invalid.

BadValue
The specified HLHSR mode is invalid.

See Also

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