PEXSetWorkstationViewport - Set Workstation Viewport


Synopsis

 
   void PEXSetWorkstationViewport(
        Display *display,
        PEXWorkstation workstation,
        PEXViewport *viewport
   )
 

Arguments

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

workstation
The resource identifier of the workstation.

viewport
The workstation viewport.

Returns

None.

Description

Invoke PEXSetWorkstationViewport to set the requested workstation viewport of the specified workstation.

If the dynamic modification for workstation viewport is PEXIMM, then this function sets the current workstation viewport to the specified viewport and sets the workstation update to PEXNotPending; otherwise, it sets the workstation update to PEXPending and does not change the current workstation viewport.

Errors

BadPEXWorkstation
The specified workstation resource identifier is invalid.

BadValue
The specified value for use_drawable is invalid.

See Also

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