Pint ws_id /* workstation identifier */ const void *conn_id /* connection identifier */ Pint ws_type /* workstation type */
)
GPHIGS establishes a connection between the program and the workstation specified by ws_type clearing the display surface if necessary.
The following operations are carried after the connection to the workstation is established: - workstation state set to WSOP. - workstation state list allocated and initialized based on the type of workstation.
- ws_id added to the list of opened workstations in the PHIGS STATE list.
When a workstation is opened, a specific description table is created, and the data it contains is established from data from the initial workstation description table for type ws_type, data obtained by interrogating the workstation (screen size, number of input devices...) and other specific workstation data.
The valid values for ws_type are listed in the GPHIGS user guide. Generally, you can use predefined values as follow for example:
PWS_TYPE_X_WINDOW for X-Window workstation
PWS_TYPE_POSTSCRIPT_C_B4 for colour landscape postscript workstation
The conn_id parameter depends on the workstation type. The drivers documentation describes the meaning of conn_id for each driver type.
GPHIGS defines non standard workstation attributes necessaries for some type of workstation (window size, double buffering control,...). See the GPHIGS user guide for more details on these attributes.
close workstation, inquire workstation state value, inquire set of open workstations, inquire workstation connection and type, set x window identifier (ext), set configuration file name (ext), clear workstation (ext)