PEXWorkstation PEXCreateWorkstation(
Display *display,
Drawable drawable,
PEXLookupTable line_bundle,
PEXLookupTable marker_bundle,
PEXLookupTable text_bundle,
PEXLookupTable interior_bundle,
PEXLookupTable edge_bundle,
PEXLookupTable color_table,
PEXLookupTable pattern_table,
PEXLookupTable font_table,
PEXLookupTable depth_cue_table,
PEXLookupTable light_table,
PEXLookupTable color_approx_table
PEXNameSet highlight_incl,
PEXNameSet highlight_excl,
PEXNameSet invisibility_incl,
PEXNameSet invisibility_excl,
int buffer_mode
)
The resource identifier of the newly-created workstation.
Invoke PEXCreateWorkstation to create a PHIGS workstation resource and get its resource identifier.
The specified drawable is associated with the newly-created workstation resource. The named tables and name sets are also bound to the workstation resource for use during rendering. A view table that supports current and requested view table entries is allocated for the workstation automatically at creation time. To modify or inquire the PHIGS workstation view table, invoke the PEXSetWorkstationViewRep and PEXGetWorkstationViewRep requests.
If the workstation is to operate in double-buffered mode and the implementation supports double-buffering, then an additional image buffer is created for the drawable in an implementation-dependent way. If you specify a drawable that is a pixmap, then no double-buffering is performed. To determine if your implementation supports double- buffering, invoke the PEXGetImpDepConstants function request.
For a list of PHIGS Workstation functions and related topics, see PHIGS Workstation.